Merge pull request #347 from g-oikonomou/contrib/ble-tidy-up
Fix build error and tidy-up BLE example
This commit is contained in:
commit
a94a4aa8b8
@ -40,6 +40,9 @@
|
|||||||
#include "dev/radio.h"
|
#include "dev/radio.h"
|
||||||
#include "os/dev/ble-hal.h"
|
#include "os/dev/ble-hal.h"
|
||||||
#include "rf-core/ble-hal/ble-hal-cc26xx.h"
|
#include "rf-core/ble-hal/ble-hal-cc26xx.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#include "sys/log.h"
|
#include "sys/log.h"
|
||||||
#define LOG_MODULE "RADIO"
|
#define LOG_MODULE "RADIO"
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI_PROJECT=client
|
|
||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
|
||||||
|
|
||||||
|
|
||||||
MAKE_MAC = MAKE_MAC_BLE
|
|
||||||
MAKE_NET = MAKE_NET_IPV6
|
|
||||||
CONTIKI = ../../..
|
|
||||||
include $(CONTIKI)/Makefile.include
|
|
11
examples/platform-specific/cc26xx/ble-ipv6/Makefile
Normal file
11
examples/platform-specific/cc26xx/ble-ipv6/Makefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
CONTIKI_PROJECT=client
|
||||||
|
|
||||||
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
|
PLATFORMS_ONLY = srf06-cc26xx
|
||||||
|
BOARDS_ONLY = launchpad/cc2650 sensortag/cc2650 srf06/cc26xx
|
||||||
|
|
||||||
|
MAKE_MAC = MAKE_MAC_BLE
|
||||||
|
MAKE_NET = MAKE_NET_IPV6
|
||||||
|
CONTIKI = ../../../..
|
||||||
|
include $(CONTIKI)/Makefile.include
|
@ -37,8 +37,6 @@ The L2CAP LE credit-based flow control support is implemented in `arch/cpu/cc26x
|
|||||||
Besides implementing rudimentary L2CAP support, this module handles fragmentation of large IPv6 packets.
|
Besides implementing rudimentary L2CAP support, this module handles fragmentation of large IPv6 packets.
|
||||||
|
|
||||||
## Using BLEach
|
## Using BLEach
|
||||||
A simple IPv6-over-BLE UDP-client is included under `examples/platform-specific/cc26xx/cc26xx-ble-client-demo`.
|
|
||||||
|
|
||||||
Currently, BLEach is only available for the Texas Instruments CC2650 hardware platform.
|
Currently, BLEach is only available for the Texas Instruments CC2650 hardware platform.
|
||||||
|
|
||||||
The following sections describe how to configure BLEach for IPv6-over-BLE nodes and border routers.
|
The following sections describe how to configure BLEach for IPv6-over-BLE nodes and border routers.
|
@ -11,6 +11,8 @@ platform-specific/cc26xx/cc26xx-web-demo/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
|||||||
platform-specific/cc26xx/cc26xx-web-demo/srf06-cc26xx:BOARD=launchpad/cc1310 \
|
platform-specific/cc26xx/cc26xx-web-demo/srf06-cc26xx:BOARD=launchpad/cc1310 \
|
||||||
platform-specific/cc26xx/cc26xx-web-demo/srf06-cc26xx:BOARD=launchpad/cc1350 \
|
platform-specific/cc26xx/cc26xx-web-demo/srf06-cc26xx:BOARD=launchpad/cc1350 \
|
||||||
platform-specific/cc26xx/very-sleepy-demo/srf06-cc26xx \
|
platform-specific/cc26xx/very-sleepy-demo/srf06-cc26xx \
|
||||||
|
platform-specific/cc26xx/ble-ipv6/srf06-cc26xx:BOARD=sensortag/cc2650 \
|
||||||
|
nullnet/srf06-cc26xx:BOARD=sensortag/cc2650 \
|
||||||
rpl-border-router/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
rpl-border-router/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
||||||
sensniff/srf06-cc26xx \
|
sensniff/srf06-cc26xx \
|
||||||
sensniff/srf06-cc26xx:BOARD=launchpad/cc1310 \
|
sensniff/srf06-cc26xx:BOARD=launchpad/cc1310 \
|
||||||
@ -29,7 +31,6 @@ dev/leds/srf06-cc26xx:BOARD=launchpad/cc1310 \
|
|||||||
dev/leds/srf06-cc26xx:BOARD=launchpad/cc1350 \
|
dev/leds/srf06-cc26xx:BOARD=launchpad/cc1350 \
|
||||||
dev/leds/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
dev/leds/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
||||||
6tisch/etsi-plugtest-2017/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
6tisch/etsi-plugtest-2017/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
||||||
ble/ipv6-client/srf06-cc26xx:BOARD=launchpad/cc2650 \
|
|
||||||
storage/cfs-coffee/cc2538dk \
|
storage/cfs-coffee/cc2538dk \
|
||||||
sensniff/cc2538dk \
|
sensniff/cc2538dk \
|
||||||
rpl-udp/cc2538dk \
|
rpl-udp/cc2538dk \
|
||||||
|
Loading…
Reference in New Issue
Block a user