Sending Multiple

Discussion in 'C-Bus Serial Protocols' started by pspeirs, Dec 21, 2018.

  1. pspeirs

    pspeirs

    Joined:
    Nov 23, 2013
    Messages:
    185
    Likes Received:
    10
    Location:
    Sydney
    Hi All,


    Sending multiple IDENTIFY messages to the SIM in quick succession only seems to return a response from the first message.

    for example, sending @2102 and @2104 after each other only returns the firmware version (02).
    If my code alternates, so sends one command then on the next time around send the next command, all is fine. This allows for checking the incoming serial data, so would there likely be a buffer full type issue going on here?



    Cheers,
    Paul
     
    pspeirs, Dec 21, 2018
    #1
  2. pspeirs

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    Are you sure it's not actually replying? I can send @2102<CR>@2104<CR> and I get two responses... as a quick test I just used an internal tool (Devkit), so I'm not sure exactly what the time interval between the two is, but the second command gets sent before the first reply comes back.

    Nick
     
    NickD, Jan 7, 2019
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.