nrf8001: Updated to the mixed module init method

A few small changes to the nrf8001 which exposes a bit more via SWIG.
Also removed a method which had no implementation.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck 2018-06-08 11:59:42 -07:00
parent 330c94f1e2
commit 7a2332fa7d
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,8 @@
set (libname "nrf8001") upm_mixed_module_init (NAME nrf8001
set (libdescription "Bluetooth Low Energy (BLE) Module") DESCRIPTION "Bluetooth Low Energy (BLE) Module"
set (module_src hal_aci_tl.cpp aci_setup.cpp aci_queue.cpp acilib.cpp lib_aci.cpp ${libname}.cxx) CPP_HDR aci.h aci_cmds.h aci_evts.h acilib_defs.h acilib.h acilib_if.h
set (module_hpp hal_aci_tl.h aci_setup.h aci_queue.h acilib.h lib_aci.h ${libname}.hpp) acilib_types.h aci_protocol_defines.h aci_queue.h aci_setup.h
upm_module_init(mraa) boards.h dtm.h hal_aci_tl.h hal_platform.h lib_aci.h uart_over_ble.h
CPP_SRC acilib.cpp aci_queue.cpp aci_setup.cpp hal_aci_tl.cpp lib_aci.cpp
nrf8001.cxx
REQUIRES mraa)

View File

@ -121,7 +121,7 @@ bool hal_aci_tl_send(hal_aci_data_t *aci_buffer);
* that was pending. * that was pending.
* @return Points to data buffer for received data. Length byte in buffer is 0 if no data received. * @return Points to data buffer for received data. Length byte in buffer is 0 if no data received.
*/ */
hal_aci_data_t * hal_aci_tl_poll_get(void); //hal_aci_data_t * hal_aci_tl_poll_get(void);
/** @brief Get an ACI event from the event queue /** @brief Get an ACI event from the event queue
* @details * @details