Commit Graph

19 Commits

Author SHA1 Message Date
simbit18
7e30c0e4c9 Fix Kconfig style
Remove spaces from Kconfig files
Add TABs
Add comments
2024-04-09 08:16:40 +02:00
SPRESENSE
90c9364b3b lte/alt1250: Force change modem parameter
In some conditions, LTE connection has issue.
To fix it, need to change a modem parameter.
2024-02-15 08:14:10 +01:00
SPRESENSE
3650251c5e lte/alt1250: Fix bug that caused stack when executing the socket API
Fix a bug that caused the application to get stuck when executing
the socket API after waking up from hibernation and before executing
lte_hibernation_resume().
2024-02-09 14:52:05 +02:00
SPRESENSE
2ac0adf37d lte/alt1250: Correspond to ALT1250_EVTBIT_RESTARTAPI event
If the ALT1250_EVTBIT_RESTARTAPI event is received,
the ALT1250 daemon changes its state to handle LAPI normally.
2024-02-08 23:52:47 +02:00
SPRESENSE
a16fb23dd7 lte/alt1250: Notice instance information
Notice instance information of LwM2M server operation to application.
2024-01-24 22:21:56 +01:00
Xiang Xiao
083eb5e993 Fix the wrong comment banner
"Private Type"->"Private Types"
"Public Data Type"->"Public Types"

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-03 14:27:14 -03:00
SPRESENSE
efdbaaefdd lte/alt1250: Fix some bugs in alt1250 daemon
Fix alt1250 daemon to return -ENOTTY when receiving ioctl
request and in the state of using kernel's network stack.
Fix alt1250 daemon to return -ENOTSUP when receiving socket
request and in the state of using kernel's network stack.
Fix alt1250 daemon to set dummy subnet mask in network devices.
This allows the correct network device to be selected when two
network devices exist.
2023-11-09 20:11:07 +08:00
SPRESENSE
719d03a8c1 lte/alt1250: Change error code from ENOTSUP to EAFNOSUPPORT
ENOTSUP is now a special error code to fallback to the kernel network stack.
Therefore, change the error code from ENOTSUP to EAFNOSUPPORT.
2023-10-03 10:32:18 +02:00
SPRESENSE
d6ed8880d8 lte/alt1250: Correspond to shutdown
ALT1250 daemon to support shutdown.
2023-09-22 16:25:09 +08:00
SPRESENSE
a9a8fbbc4a lte/alt1250: Fix bug that name resolution failed for a long time
Fix bug that name resolution failed for a long time under particular cases.
If a DNS query for IPv6 succeeds and IPv4 fails, only the answer of the
IPv6 query is saved in the cache. If only IPv4 is given from LTE,
name resolution will fail while the answer is saved in the cache.
Therefore, the ALT1250 daemon sets the given IP type to the DNS client,
which can only send DNS queries for that IP type.
2023-09-16 18:09:29 +08:00
SPRESENSE
0f9605e143 lte/alt1250: Fix usrsock_bind error by uninitialized value
Fix usrsock_bind error by an undefined events variable which is caused
by NuttX usrsock update.
2023-09-07 14:07:43 +08:00
SPRESENSE
9a11ede5ff lte/alt1250: Fix issue that ifconfig does not work
Add SIOCGIFFLAGS support for ifconfig command.
2023-09-07 14:07:43 +08:00
Xiang Xiao
7251645685 Fix some coding style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-17 22:51:51 +03:00
Xiang Xiao
856416540c Remove the definition of MIN/MAX
use the macro in sys/params.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-17 22:51:51 +03:00
simbit18
85988dc77f Fix nuttx coding style
Remove TABs
2023-08-01 23:10:32 -07:00
raiden00pl
ed370ec674 cmake: port nxscope and foc and add missing directories 2023-07-14 22:04:35 +08:00
Xiang Xiao
7986f66006 build: Replace "$(shell $(INCDIR) $(CC) ...)" with $(INCDIR_PREFIX)
to unify the way to get include directories

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-22 23:27:26 +03:00
Petro Karashchenko
aed0e2873e apps: fix style issues in code
Add missing FAR and CODE to pointers
Remove FAR for non-pointer variables
Remove extra spaces and align the parameters
Add do {} while(0) wrapper in macro
Use nitems to calculate number of elements in arrays

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-06-11 18:47:50 +08:00
SPRESENSE
4a9b3a5881 lte: Add usrsock daemon for ALT1250 LTE modem
Add usrsock daemon for ALT1250 LTE modem.
2023-06-07 01:51:33 +08:00