Yasuyuki Tanaka
90248b6dc2
shell: minor fix on shell output message
2018-03-22 17:42:21 +00:00
Yasuyuki Tanaka
ecd64846a8
shell: add NULL pointer check
2018-03-22 17:41:54 +00:00
Yasuyuki Tanaka
fb5fa58ec3
shell: replace TAB with spaces
2018-03-22 17:37:14 +00:00
Yasuyuki Tanaka
039d5b4c8d
shell: increase buffer size for SHELL_OUTPUT()
2018-03-22 17:36:10 +00:00
Joakim Eriksson
27aa381403
Merge pull request #169 from g-oikonomou/wip/button-hal
...
Add a button HAL and corresponding drivers
2018-03-21 07:39:12 +01:00
Joakim Eriksson
0c31f4dd95
Merge branch 'develop' into wip/button-hal
2018-03-21 07:19:51 +01:00
George Oikonomou
0b3655a11c
Merge pull request #358 from simonduq/fix/rpl-nbr-init
...
Only initialize rpl-neighbor module once
2018-03-19 21:48:59 +00:00
Simon Duquennoy
eb62a7894c
nbr_table_register: make sure not to register a given table twice
2018-03-19 12:09:07 -07:00
Simon Duquennoy
baa02a76f2
nbr_table_is_registered: prevent potential buffer overflow
2018-03-19 12:08:02 -07:00
Simon Duquennoy
fc053b15b9
Rename nbr_table_is_register to nbr_table_is_registered
2018-03-19 12:05:32 -07:00
Simon Duquennoy
850e6fefb3
RPL-Lite: initialize rpl-neighbor module only once, in rpl.c
2018-03-19 11:51:40 -07:00
Simon Duquennoy
cc0887b87d
Merge pull request #356 from g-oikonomou/bugfix/cc13xx-cc26xx/bad-mac
...
Fix link layer address retrieval from flash
2018-03-19 19:43:07 +01:00
Simon Duquennoy
786172e154
Merge branch 'develop' into bugfix/cc13xx-cc26xx/bad-mac
2018-03-19 18:36:05 +01:00
Simon Duquennoy
fbc1681c2f
Merge pull request #286 from sieben/vagrant
...
Add Vagrant support
2018-03-19 11:46:30 +01:00
Rémy Léone
5364f81f5a
Add Vagrant support
2018-03-19 10:39:29 +01:00
George Oikonomou
dc8aa6aeca
Fix link layer address retrieval from flash
2018-03-18 13:10:21 +00:00
George Oikonomou
a8c9931257
Add a function to retrieve a button by index
2018-03-18 12:50:37 +00:00
George Oikonomou
180a52b4ff
Add a way to retrieve device button count
2018-03-18 12:50:37 +00:00
George Oikonomou
708127dfb8
Change variable to volatile
2018-03-18 00:10:10 +00:00
George Oikonomou
4dc15c0706
Don't manipulete ctimers inside interrupt context
2018-03-17 23:56:14 +00:00
George Oikonomou
d98d8f586f
Fix code style
2018-03-17 23:55:00 +00:00
Niclas Finne
9b37e4b7fb
Updated IPSO button to use the button HAL pressed/released events.
...
Removed support for the optional polarity resource to simplify the code.
2018-03-17 22:48:16 +00:00
George Oikonomou
c87aadc390
Change function to get button state to non-static
2018-03-17 22:05:56 +00:00
George Oikonomou
4882077a75
Add button HAL example
2018-03-14 09:34:47 +00:00
George Oikonomou
155e2c9b0a
Support both old and new button API in common examples
...
This change is temporary so travis can pass until all platforms have been migrated to the new API
2018-03-14 09:34:47 +00:00
George Oikonomou
13c18011c7
Change the GPIO HAL example to use the new button API
2018-03-14 09:34:46 +00:00
George Oikonomou
25afb83209
Change CC2538 MQTT demo to use the button HAL
2018-03-14 09:34:46 +00:00
George Oikonomou
0445275825
Change Zoul examples to use the button HAL
2018-03-14 09:34:46 +00:00
George Oikonomou
a5ea8d44e9
Use the new button HAL: Zoul
2018-03-14 09:34:46 +00:00
George Oikonomou
d22ea1df99
Use the new button HAL: OpenMote-CC2538
2018-03-14 09:34:46 +00:00
George Oikonomou
974a7549e9
Use the new button HAL: CC2538DK
2018-03-14 09:34:46 +00:00
George Oikonomou
7bf6679806
Allow the GPIO HAL to enable corresponding port interrupt on the NVIC
2018-03-14 09:34:46 +00:00
George Oikonomou
5f190be6c9
Change the CC26xx web demo to use the button HAL
2018-03-14 09:34:45 +00:00
George Oikonomou
70dc73ff9d
Change the CC26xx very sleepy demo to use the button HAL
2018-03-14 09:34:45 +00:00
George Oikonomou
4fd90e1b68
Change the CC26xx demo to use the button HAL
2018-03-14 09:34:45 +00:00
George Oikonomou
1dcb8426d6
Use the button HAL for all CC13xx/CC26xx devices
2018-03-14 09:34:45 +00:00
George Oikonomou
8ac1cf92ce
Implement the new button HAL: Sensortag
2018-03-14 09:34:45 +00:00
George Oikonomou
f199ff0a5f
Implement the new button HAL: Launchpad
2018-03-14 09:34:45 +00:00
George Oikonomou
3f4fef4625
Implement the new button HAL: SmartRF06 + CC13xxEM/CC26xxEM
2018-03-14 09:34:44 +00:00
George Oikonomou
3014e8cf07
Start the sensors process conditionally
...
(Not all boards have sensors)
2018-03-14 09:34:44 +00:00
George Oikonomou
934856b4fd
Introduce platform-independent HAL for buttons
2018-03-14 09:34:44 +00:00
Simon Duquennoy
6d57dd0e7e
Merge pull request #345 from g-oikonomou/bugfix/cc13xx/prop-mode-pan-id
...
Only print RADIO_PARAM_PAN_ID at startup if the radio supports it
2018-03-14 10:08:56 +01:00
Simon Duquennoy
76773c7b13
Merge branch 'develop' into bugfix/cc13xx/prop-mode-pan-id
2018-03-14 09:20:38 +01:00
Simon Duquennoy
a94a4aa8b8
Merge pull request #347 from g-oikonomou/contrib/ble-tidy-up
...
Fix build error and tidy-up BLE example
2018-03-14 09:20:24 +01:00
George Oikonomou
66106e86dd
Add nullnet example test for cc26xx
2018-03-13 22:47:45 +00:00
George Oikonomou
e2d5e2dfee
Add missing includes
2018-03-13 22:47:45 +00:00
George Oikonomou
de975bbabe
Move BLE readme to the corresponding example dir
2018-03-13 22:47:45 +00:00
George Oikonomou
b20f493e09
Move BLE example to platform-specific/cc26xx
...
This commit moves the BLE/IPv6 example to the platform-specific directory, since we only support one platform currently. The pull also tidies up the example Makefile a bit: We no longer need to specify the name for project-conf.h so we remove this. We add PLATFORMS_ONLY and BOARDS_ONLY
2018-03-13 22:47:45 +00:00
George Oikonomou
f8bc9aabd5
Merge pull request #348 from perexg/jn516x-set-channel-fix
...
JN516x SDK 4170 build 1745 does not have vMMAC_SetChannel() function
2018-03-13 22:47:18 +00:00
Jaroslav Kysela
1575222e4e
JN516x SDK 4170 build 1745 does not have vMMAC_SetChannel() function
...
- use only vMMAC_SetChannelAndPower()
- remove redundant call in init()
2018-03-13 20:10:52 +01:00