Receiving multiple messages from message port

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
alkargr
Posts: 14
Joined: Tue Feb 25, 2020 6:34 pm

Re: Receiving multiple messages from message port

#11 Post by alkargr »

lonespace wrote: Sat Jul 31, 2021 10:54 pm @JackZ I don’t think that’ll work; from the sounds of it, if you send:
Message ID=1, payload 0x5F intended for instrument A
Message ID=2, payload 0xB2 intended for instrument B

Both instruments will receive *two copies* of both payloads. If you tell instrument A to ignore payload 2, you still have to code instrument A to also ignore duplicate payload 1’s
That's exactly what happens!

It works with si commands. At least with one command, that I tried. Still using the timer though, it's easier to implement.

User avatar
Corjan
Posts: 2933
Joined: Thu Nov 19, 2015 9:04 am

Re: Receiving multiple messages from message port

#12 Post by Corjan »

Hi,


Will look at this issue probably by the end of this week.

Although it is not designed to be run from two separate instruments, it should still work.


Corjan

User avatar
Corjan
Posts: 2933
Joined: Thu Nov 19, 2015 9:04 am

Re: Receiving multiple messages from message port

#13 Post by Corjan »

Hi,


Fix in code, will be in next BETA.

Note that normal messages and debug messages from the Arduino -> AM will still arrive in both instruments.


Corjan

Post Reply