Skip to main content
GF_it
Associate II
July 3, 2020
Solved

Where is the control of incoming data on BlueNRG-2 MESH SDK for generic ON/OFF model

  • July 3, 2020
  • 1 reply
  • 811 views

Hi community !

I tested BlueNRG-2 generic ON/OFF model with other type of card with Mesh compatibility with which i can send what i want. When i'm sending a 2 bytes message like 01-00, DL3 (LED 3) switch ON which is normal. When the message is 2, 3 or 4 bytes long it still work, but when it's an 1 or more than 4 bytes long the card seems to no longer working. So i use breakpoint on the code to see where the income data is stopped.

In generic.c file, the data go through "GenericModelServer_ProcessMessageCb" when it's a 2,3 or 4 bytes and is stopped before when it's a longer one.

But i don't see when this function is called... So is there a way to let longer message going through this ?

Sincerely

GF

    This topic has been closed for replies.
    Best answer by GF_it

    I found it ! it's in generic.c file on "Generic_Opcodes_Table"

    1 reply

    GF_it
    GF_itAuthorBest answer
    Associate II
    July 3, 2020

    I found it ! it's in generic.c file on "Generic_Opcodes_Table"