This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble mesh trasmission

hi guys, I'm looking for understand how to send a simple signal using ble mesh between two nrf52840 boards.

The  available example aren't so usefull in order to have the input signal to trasmitt but I need to have a pin interrupt on a gpio port that start trasmission in tx-board ,so in the rx one riceve only the pin-interrupt.

In which way can I set this using the given examples???

some advices?

Thanks a lot for your answers!!!!

I tried to do something like that..using the example on light switch,but obviusly it didn't work..moreover in no way does the board recognize the interrupt input on port 28!!!

 
Parents
  • Hi. 

     

    The  available example aren't so usefull in order to have the input signal to trasmitt but I need to have a pin interrupt on a gpio port that start trasmission in tx-board ,so in the rx one riceve only the pin-interrupt.

     Not sure what you want to do exactly. 

    The examples in the nRF5 SDK for Mesh (Light switch examples) will be in RX-mode for the most of the time, as you might already know. This is because the nodes will be listening for packets from the other mesh nodes. 

    The light swtich example wil, on button press, send an on/off command to turn on/off the light on the server. Is this something that you can re-use for your application?

    If not, I suggest that you take a look at the GPIO and GPIOTE chapter in the product specification. 
    We also have a GPIOTE example in our SDK that you can use as guidance. 

    Best regards, 
    Joakim Jakobsen

  • hi Joakim,are there any other suggestions about my problem? i can't find the way in orther to trasmit a pin interrupt beetwen two boards using ble mesh.

    Thanks . Best Regards!.

Reply Children
No Data
Related