BLE-WiFi with BIOSensors

Dependencies:   AS7000 BNO055 NNN50_WIFI_API

DELTA NNN50 (Bluetooth LE 4.X & 802.11 b/g/n) with Bio Sensor (HRM, 9DoF motion Sensor) reference design.

Env. Setup step by step.

  1. Download or build a TCP Server on you host computer
    1. Please find out the TCP server code or install TCP server application in your host computer.
  2. Import this sample application and setup these information about AP & TCP Server
    1. *char* AP_SSID = "SOG";
    2. *char* AP_PWD = "1122334455667788";
    3. *char* TCP_SERVER_ADDRESS = "10.0.1.13";
    4. *int TCP_SERVER_PORT = 1030;
  3. Compiler your code and download to your mBed device.
  4. Control your mBed device
    1. Please use NORDSemi nRF Tool and setup and watch these information: GATT CMD: 0x00 (connect to AP, TCP Server, and create TCP socket), 0x02 disconnection TCP server, close socket, and WiFi sleep), 0xA1 (send sensor data to tcp server from out_buffer[]) and Status will be update by Bluetooth LE adv through manufacturing information
0x000x020xA1
WiFi,AP&TCP Server connectWiFi,AP, & TCP Server disconnectSend sensor data to TCP Server

Revisions of main.cpp

Revision Date Message Actions
15:d22f450bb909 2017-06-01 Update for DEBUG mode values. File  Diff  Annotate
14:eacafd9e019f 2017-06-01 Interrupts command update File  Diff  Annotate
13:a777cab6c218 2017-06-01 Add IRQ disable/enable for I2C read protection File  Diff  Annotate
11:54a1a576df9f 2017-05-06 Add AP & TCP Server setup infromation File  Diff  Annotate
10:248b81efda00 2017-05-06 Add TCP none-blocking feature. File  Diff  Annotate
9:d1861b00e0fd 2017-05-04 Fix UART to LCM MCU Pull up issue File  Diff  Annotate
8:ff7fdd152f14 2017-05-04 DEMO version - 4MAY'17 File  Diff  Annotate
7:06495d54d107 2017-05-04 Project init File  Diff  Annotate
6:4ca0aa131d20 2017-05-02 BLEWiFi&BioSensor File  Diff  Annotate
5:ffe1a4c4881e 2017-05-02 AS7000 driver update File  Diff  Annotate
4:11b81280c65b 2017-04-17 This revision is based on mbed-os (mbedOS 5); NNN50_WIFI_API need to update to 22:5b38592 at least ; Add mbed_app.json for proper platform setting; Add .mbedignore (may not shown in IDE) File  Diff  Annotate
3:9bd3e863e15b 2017-04-02 Revise main to fix bug (empty getIPAddress, etc); Update NNN50_WIFI_API to revision 18 (revision 20 have bug) File  Diff  Annotate
2:92946804ed6f 2016-12-19 add wifi.sleep() in the sample code File  Diff  Annotate
1:a357a8f9ac8b 2016-12-03 Remove m2m_wifi_handle_events(NULL); from main.cpp; Add udp client test code File  Diff  Annotate
0:b5f183111420 2016-11-23 First commit; Show the usage of apScan() and connect() File  Diff  Annotate