YAMAMOTO Takashi
5e3a3dae10
webclient.h: Avoid relying on indirect inclusion
...
Include stdint.h for uint16_t explicitly.
This was necessary when I was trying to build this natively
on Ubuntu. It seems some other headers happen to pull
the uint16_t definition by luck on NuttX and macOS.
2022-06-03 17:28:05 +03:00
YAMAMOTO Takashi
c116f8b673
webclient: Add https proxy (https over http) support
...
Use a separate webclient_context for tunnel establishment.
I chose this way (instead of having tunnelling steps in
the state machine of a single webclient_context) because
I want to allow tunnelling of non-HTTP protocols sooner or later.
2022-06-02 12:45:41 +08:00
YAMAMOTO Takashi
a95dd30f0e
webclient: Add tunneling support
...
Add a primitive API for tunnel establishment.
(WEBCLIENT_FLAG_TUNNEL and webclient_get_tunnel)
I plan to use this to implement https proxy support.
That is, the primary user will be webclient itself.
2022-06-02 12:45:41 +08:00
zouboan
30dbdf71ff
industry/foc foc_ident: adding flux linkage identification
2022-06-01 01:06:26 +08:00
Ville Juven
871c59dc31
nxwm: Fix warning about on_exit() dependency
2022-05-25 21:52:22 +08:00
YAMAMOTO Takashi
41aee40a2c
webclient: Add proxy setting in webclient_context
2022-05-24 22:42:54 +08:00
Takayoshi Koizumi
5040719911
audioutils/mml_parser: Add mml_parser library
...
Add Music Macro Language parser library in audioutils.
audioutils is also created for several audio utilities
not only mml_parser.
2022-05-07 13:56:53 +08:00
Alin Jerpelea
d60fb1168d
nxstyle fixes
...
fixes for nxstyle errors reported by CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
7c46bbc34d
include: netutils: pppd.h: update license to Apache
...
Brennan Ashton has signed the ICLA. As a result we can migrate the
license to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
zrrong
d17c9509f6
wireless/wapi: fix wapi wpa_wconfig_s alg data type error
...
Signed-off-by: zrrong <zrrong@bouffalolab.com>
2022-04-14 18:24:33 +03:00
ligd
9730eaad9e
nsh: sh_main also support isctty = true
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 22:47:37 +03:00
songlinzhang
f85388578c
Add dhcp6c module
...
Signed-off-by: songlinzhang <songlinzhang@xiaomi.com>
2022-03-19 23:25:50 +08:00
xuewenliang
c69ec94d13
Modifying the ping command
...
1、Round trip times in the ping command range from millisecond to subtle
2、Add statistics on RTT related min/avg/Max/mdev in ping program
3、The ping command supports ctrl+c interruption operations
Signed-off-by: xuewenliang <xuewenliang@xiaomi.com>
2022-03-18 09:54:01 +08:00
zhanghongyu
e0e41c5d7f
feature: wapi add encode parse when scan
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-03-15 18:01:04 +08:00
YAMAMOTO Takashi
44e80ac972
webclient: Implement chunked transfer (receiving side)
...
This is a requirement for HTTP 1.1.
Tested against:
* http://httpbin.org/stream/10
* Docker API
2022-03-08 09:39:55 +08:00
YAMAMOTO Takashi
3759da3d00
webclient: Add a parameter to specifiy protocol version
2022-03-08 09:39:55 +08:00
Alin Jerpelea
73258b3b39
apps: wireless: ieee802154: nxstyle fixes
...
fix for errors reported by the nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-08 01:44:49 +08:00
Alin Jerpelea
c7c556ebae
apps: wireless: ieee802154: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Verge Inc has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-08 01:44:49 +08:00
raiden00pl
fbb09ff128
foclib/fixed16: add support for observers
2022-02-20 21:55:14 +08:00
zouboan
34e4da2304
industry/foc: add support for angle from sensorless observer
2022-02-19 15:37:35 +01:00
raiden00pl
5ef9d3630b
industry/foc/float: add velocity observers support
2022-02-16 23:49:12 +08:00
Petro Karashchenko
9480c0ec12
include: fix double include pre-processor guards
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-16 17:36:21 +08:00
Fotis Panagiotopoulos
bc5d8034f1
Typo fixes.
2022-01-06 10:30:41 +08:00
Xiang Xiao
66dbaa4539
Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL]
...
NET_SOCK_* is defined by nuttx/net/netconfig.h and then can be shared
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-20 16:04:29 -03:00
Xiang Xiao
58586f86e3
system/cle: Make it work without CONFIG_FILE_STREAM
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-30 22:06:03 -06:00
Xiang Xiao
c8439368ac
system/readline: Make it work without CONFIG_FILE_STREAM
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-30 22:06:03 -06:00
songlinzhang
e0fc53b23c
netutils/dhcpc: add non-blocking interface
...
Signed-off-by: songlinzhang <songlinzhang@xiaomi.com>
2021-11-29 02:04:49 -06:00
raiden00pl
54c0b9a9d8
industry/foc/foc_align: add support for sensor index search
2021-11-07 03:46:17 -06:00
Gustavo Henrique Nihei
fbdfb0ef96
crypto/mbedtls: Bump Mbed TLS to version 3.0.0
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-04 23:19:58 -05:00
Brennan Ashton
c2057d77b2
crypto: Initial support for mbedtls
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2021-11-04 15:20:14 -03:00
raiden00pl
4001d27571
industry/foc: add support for Hall sensor
2021-10-30 10:17:07 -05:00
raiden00pl
5b52247625
industry/foc: add support for qenco
2021-10-30 10:17:07 -05:00
raiden00pl
515a25fbb8
industry/foc/*/foc_velocity.c: add methods to set the zero velocity and direction of the velocity
2021-10-30 10:17:07 -05:00
raiden00pl
6cafdae44a
industry/foc/*/foc_angle.c: add methods to set the zero angle and direction of the angle
2021-10-30 10:17:07 -05:00
raiden00pl
2e61b3e310
industry/foc/*/foc_velocity.c: run method should return int
2021-10-30 10:17:07 -05:00
raiden00pl
cb78f6d0df
industry/foc/*/foc_angle.c: run method should return int
2021-10-30 10:17:07 -05:00
raiden00pl
27c282a58a
include/industry/foc/*/foc_angle.h: add a field with angle type
2021-10-30 10:17:07 -05:00
raiden00pl
9362fe760d
include/industry/foc/*/foc_handler.h: remove useless FAR
2021-10-30 01:19:43 -05:00
raiden00pl
f009d68a91
industry/foc: add motor identification routine
2021-10-30 01:18:12 -05:00
raiden00pl
f2fc2af8e3
industry/foc: add sensor alignment routine
2021-10-30 01:18:12 -05:00
raiden00pl
084cfa4e5e
industry/foc: add general FOC routine handler
2021-10-30 01:18:12 -05:00
Jiuzhu Dong
5c1626c764
netutils: add NETLIB_SOCK_TYPE for AF_RPMSG
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:37:53 +08:00
Erdem Meydanli
c222043ed1
system/termcurses: Add terminate operation into the termcurses_ops_s interface
...
The existing implementation of the termcurses_deinitterm calls
termcurses_setcolors with some hard-coded values, leading to different
terminal emulators' behavior. Instead, a reset call needs to be made to
the implementation to roll back changes.
A new operation (terminate) has been added to the termcurses_ops interface
to achieve this functionality.
The vt100's terminate implementation ensures that default foreground and
background colors are applied portably across different terminals emulators.
2021-08-28 21:12:40 +08:00
Juha Niskanen
b283289986
apps: fix miscellaneous typos
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-08-26 11:39:28 -07:00
YAMAMOTO Takashi
66650f223b
netlib: Change the type of url_s:port to uint16_t
...
uint16_t is what's used in netlib and webclient in most of places.
There is a static analizer complaining on the type mismatch.
(It's actually harmless as far as I understand though.)
2021-08-12 04:33:44 -07:00
YAMAMOTO Takashi
f6c194944c
netlib.h: Fix an nxstyle error
2021-08-12 04:33:44 -07:00
YAMAMOTO Takashi
b8fd862965
webclient: Add some assertions on webclient_context state
2021-08-08 22:34:26 -07:00
YAMAMOTO Takashi
cb1f7c9dfe
webclient.h: Document webclient_client lifetime
2021-08-08 22:34:26 -07:00
YAMAMOTO Takashi
0bae950b63
webclient: Implement non-blocking I/O
...
* webclient_perform
* Add a new flag to use non-blocking mode (WEBCLIENT_FLAG_NON_BLOCKING)
* Implement restarting
* Add a few associated API functions
* webclient_get_poll_info: get the descriptor info for poll/select
* webclient_abort: abort the operation (instead of restarting)
2021-08-08 22:34:26 -07:00
raiden00pl
a0fbd104fa
industry/foc: add support for CORDIC
2021-07-28 14:24:08 -03:00