How To gather Data From sensor usingb nrf 52840 dongle

Hey guys, 

Recently I have been working with the nrf 52840 dongle and my goal is to use the dongle to communicate with a sensor and read values from it. So far I have been able to connect to the sensor and read its services/ characteristics but I need help in regards to what to do next in order to gather actual values from the characteristics. It would be awesome if I could get some direction as to what I should do next in order to read the sensor data. Thank You!

Parents
  • Hello

    It's not really clear to me what you are trying to do. Is your dongle and the sensor on the same board, or is your dongle communicating with another BLE device that has this sensor? What is connecting to what, and what device is reading the data?

    Also, what SDK are you using?

    Best regards,

    Einar

  • Hey Einarh,

    Sorry for the confusion. I am using SDK 2.0.0. I am trying to connect the nrf dongle to my sensor via BLE, in which Iconfigure the dongle as the central device and the sensor as the peripheral. I want to know how to read the sensor values, such as temp humidity, from the sensor. So far I have been able to  connect to the device, and do a GATT discovery on the device where I found the temperature characteristic. But I am having trouble with the last step which is using the temperature characteristic to get actual temperature readings. Hope this clarified things. Thank you !

Reply
  • Hey Einarh,

    Sorry for the confusion. I am using SDK 2.0.0. I am trying to connect the nrf dongle to my sensor via BLE, in which Iconfigure the dongle as the central device and the sensor as the peripheral. I want to know how to read the sensor values, such as temp humidity, from the sensor. So far I have been able to  connect to the device, and do a GATT discovery on the device where I found the temperature characteristic. But I am having trouble with the last step which is using the temperature characteristic to get actual temperature readings. Hope this clarified things. Thank you !

Children
Related