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 » Mon Aug 02, 2021 6:12 pm

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: 2457
Joined: Thu Nov 19, 2015 9:04 am

Re: Receiving multiple messages from message port

#12 Post by Corjan » Mon Aug 02, 2021 6:38 pm

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: 2457
Joined: Thu Nov 19, 2015 9:04 am

Re: Receiving multiple messages from message port

#13 Post by Corjan » Thu Aug 05, 2021 10:15 am

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

Who is online

Users browsing this forum: No registered users and 4 guests