This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RPI 3 using noble library to read packets of nRF5 SDK for Mesh ver 0.9.2

I'm developing a BLE gateway/scanner for nRF5 Mesh BLE network, my system components are as following:

  • Raspberry Pi 3 installed with noble nodejs library (as I'm familier with noble, you can suggest any other library).

  • nRF SDK Mesh ver.0.9.2

  • Two custom nRF52832 boards. I ran light control client/server demo application on my custom boards, and it's working fine, that client switch on/off server leds, I know it must be at least 3 boards for true mesh, but this is not an issue, I just want to read these mesh packets on my RPi3, get its data, so I can relay this data to a cloud service. my noble simple code as following;

    noble.on('stateChange', function(state) { console.log('state has changed', state); if (state == 'poweredOn') {
    noble.startScanning([ ], true, function(error) { if (error) { console.log('error starting scanning', error); } else { console.log('started scanning'); }

    noble.on('discover', function(peripheral) {

            console.log('discover event hit', peripheral.advertisement);
    

I get empty data, how to decode/read mesh data using noble or whatever tools on RPI, any suggestions?

Thanks

Related