How can i send twi data(like accelerometer) by bluetooth to another Nordic?

Good morning, i would want to develop a code in order to have a twi sensor(like an accelerometer) and communicate its data by Bluetooth to another board Nordic, or computer. Now i have two Nordic nrf52840. How can i solve this? Using NUS? And how? Thanks

Parents Reply
  • Perfect thanks! Sorry if I use NUS service and i want to send accelerations, gyroscopes and temperature simultaneosly,  i have to work with the uart _event_handler by adding different ble_nus_data_send cases, doesn't it?  If instead I use service/characteristic method , must i create a single service and characteristic for every single data? Sorry because I'm not so familiar with BLE and now i will deepen with your tutorials thanks.

Children
No Data
Related