Commit Graph

3545 Commits (f16cdf45d91b5fd0fc1a3c1e9d43beb51b8bf235)

Author SHA1 Message Date
Kimmo Vaisanen f16cdf45d9 Add missing SIM PIN configuration item 2018-10-19 11:46:55 +01:00
Jaakko Korhonen 758fca4644 Removed cellular PIN code print from debug log. 2018-10-19 11:46:55 +01:00
David Saada d00224ea33 Fix is_valid_erase function to use get_erase_size with address 2018-10-19 11:46:55 +01:00
Wajahat Abbas 861d649a7e corrected a typo in AT_CellularPower::opt_power_save_mode 2018-10-19 11:46:55 +01:00
Moran Peker eb76a2419c Disable MBEDTLS_SHA256_ALT on STM targets. 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm d07432174e assert instead of error 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm 120f0e987b remove pointless cast 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm 3f2b8882f2 fix namespace errors 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm 92434ac77d change namespace 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm 98ddcc1955 removed unusused header 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm 637fba671a moved SimpleEventQueue 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm fe09b9195b check WsfBufAlloc 2018-10-08 15:29:18 +01:00
paul-szczepanek-arm e47117ab1a replace malloc with cirdio buffer allocation 2018-10-08 15:29:18 +01:00
Antti Kauppila 04c16412cf cmake Paths corrected 2018-10-08 15:29:18 +01:00
Antti Kauppila 18a1e66ebc LoRaMac unittested 2018-10-08 15:29:18 +01:00
Antti Kauppila 8bed43e4f8 LoRaWANStack unit tested 2018-10-08 15:29:18 +01:00
Antti Kauppila 41d0648fdd LoRaMacCrypto unittested 2018-10-08 15:29:18 +01:00
Antti Kauppila 1f24d725a7 LoRaPHY unittested, small fixed done during tests 2018-10-08 15:29:18 +01:00
Antti Kauppila 07d2ce69ca LoRa regions unittested, stubs licences revisited 2018-10-08 15:18:50 +01:00
Antti Kauppila 474b652820 More lorawan unit tests added 2018-10-08 15:18:50 +01:00
deepikabhavnani 7577ff5bb5 Added thread safety info to FatFs/LittleFs 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm 9d81960b89 fix using an invalid cccd index 2018-10-08 15:18:50 +01:00
Teppo Järvelin 918820c9ce Cellular: state machine and easycellular now return error fast if sim pin needed but not provided. 2018-10-08 15:18:50 +01:00
Juho Eskeli ae65a2a609 Align writes to blockdevice write size in MBRBlockDevice 2018-10-08 15:18:50 +01:00
Aashish chaddha ec18321551 skip the flashsim test if enough memory cannot be allocated for it. 2018-10-08 15:18:50 +01:00
Mirela Chirica 523edf0561 Cellular: Fix cellular network unit test 2018-10-08 15:18:50 +01:00
Edd Inglis 366ad09e67 Changed the reported SNR from unsigned to signed. Internally and logically it is a signed value. 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm 38b0df0f79 fix whitelist generation (set correct address type) 2018-10-08 15:18:50 +01:00
David Saada 8f806f834e Handle NVStore tests in a low memory environment 2018-10-08 15:18:50 +01:00
Ari Parkkila 85a6a075eb Cellular: Disable AT+CGAUTH on HE910 and BC95 2018-10-08 15:18:50 +01:00
Ari Parkkila fe385baa88 Cellular: Implement APN authentication for BG96 2018-10-08 15:18:50 +01:00
Ari Parkkila a060089a7a Cellular: Fix APN authentication before context activation 2018-10-08 15:18:50 +01:00
ccli8 c59d20f12f Add missing mbedtls_device.h for NUMAKER_IOT_M487 2018-10-08 15:18:50 +01:00
Steven 92cb4fe6b7 Hotfix for PR #7778
TB_SENSE_12 would have been left behind by the changes in #7778. This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-10-08 15:18:50 +01:00
Kimmo Vaisanen e7d7b0ded6 Lora: Fix sticky MAC command retransmission
This commit fixes the bug where sticky MAC commands were duplicated in
send buffer everytime send() was called.
2018-10-08 15:18:50 +01:00
Kimmo Vaisanen ffa46b15f3 LoRa: Stop processing MAC commands if command id is unknown
The length of a MAC command is not explicitly given and must be
implicitly known by the MAC implementation. Therefore unknown MAC
commands cannot be skipped and the first unknown MAC command
terminates the processing of the MAC command sequence.

This commit fixes the bug where MAC command processing was not
terminated when unknown MAC command was received.
2018-10-08 15:18:50 +01:00
Hasnain Virk 6b11e99b96 LoRaWAN: Refactoring compliance test code
While performing compliance tests with an industry tester, we realized
that there was no need for any extra handling code for the compliance
tests. The tests would run fine, if we only have a handling application.
However, in normal operation we wouldn't like the network to send us any
traffic on compliance testing port. To mitigate that, on the reception
path we filter out any traffic on compliance testing port if compliance
testing is not underway. User should define LORAWAN_COMPLIANCE_TEST macro
in mbed_app.json to enable traffic on compliance test port.
2018-10-08 15:18:50 +01:00
Jani Suonpera 3b233c59de Rename F207ZG bootloader binary
Typo fix and fix version hash.
2018-10-08 15:18:50 +01:00
Jani Suonpera 41d23a8b8a Add bootloader image for Nucleo F207ZG 2018-10-08 15:18:50 +01:00
Kimmo Vaisanen 3236feede7 Lora: Fix ADRAckReq
This commit fixes two bugs related to ADRAckReq:
- adr_ack_counter must be incremented for all uplink messages (not just confirmed)
- When ADR_ACK_LIMIT + ADR_ACK_DELAY has been reached, stack decreased used
  datarate twice.
2018-10-08 15:18:50 +01:00
Juha Ylinen 39a8d6e1bf netsocket: Fix compiler warning
[Warning] InternetSocket.h@237,10: 'InternetSocket::_factory_allocated' will be initialized after [-Wreorder]
[Warning] InternetSocket.h@236,23:   'volatile unsigned int InternetSocket::_pending' [-Wreorder]
[Warning] InternetSocket.cpp@22,1:   when initialized here [-Wreorder]
2018-10-08 15:18:50 +01:00
Antti Kauppila eff5f392b4 Small improvements for test cases 2018-10-08 15:18:50 +01:00
Antti Kauppila 3945ea6bf5 Old Cellular UNITTESTS removed 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm cadfb7edea missing overload 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm f3627530f4 missing onDataSent calblack for cordio 2018-10-08 15:18:50 +01:00
Hasnain Virk a3c3f7af3c LoRaWAN: Memory overrun correction
A typo in LoRaPHYCN470 is causing memory overrun.
We were supposed to fill-in default channel mask and iterate over CN470_CHANNEL_MASK_SIZE times.
2018-10-08 15:18:50 +01:00
Ron Eldor 5e55fdfa20 Change mbedtls_platform_context parameter to NULL
Change the parameter being sent to `mbedtls_platform_setup()` and
`mbedtls_platfrm_teardown()` to NULL, as it is now being unused
in Mbed OS.
2018-10-08 15:18:50 +01:00
Seppo Takalo ce1ea568f2 Fix TCPSocket::accept()
This one was actually always return NULL, and unsted because we only
have tests with one device.

We will add the testcase for this soon
2018-10-08 15:18:50 +01:00
Taiki 9f613512eb Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful 2018-10-08 15:18:50 +01:00
Juha Ylinen 5a82c8b47a Fix TCPServer::accept()
Missing lock caused Mutex unlock failure
2018-09-17 21:42:55 -05:00