KrisKasprzak / EBYTE

Libraries to program and use UART-based EBYTE wireless data transceivers
239 stars 75 forks source link

Specify the destination address or the channel in the sending #46

Closed CodingByJerez closed 2 years ago

CodingByJerez commented 2 years ago

Hello, I don't know much about low-level programming language :/ it's all new to me. Is it possible to specify the destination address or the channel only for sending a message ?

Of style:


EBYTE::SendFixedMessage(2, 2, 0x17, "Message to a device");
KrisKasprzak commented 2 years ago

I’m not sure what you mean if you’re talking about sending an address for the device to then listen to the answer is no address in channel have to be set correctly for the device to hear any incoming messages.

On Dec 17, 2021, at 9:49 AM, Coding By Jerez @.***> wrote:

 Hello, I don't know much about low-level programming language :/ it's all new to me. Is it possible to specify the destination address or the channel only for sending a message ?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.

CodingByJerez commented 2 years ago

For example, let's say I have 5 devices each with a LORA card each identified by a different address and all in the same Chanel Is it possible to send the message only To another device is not at all thanks to the address specification at the time of sending the message?

Envoyé de mon iPhone

Le 17 déc. 2021 à 18:23, Kris Kasprzak @.***> a écrit :

 I’m not sure what you mean if you’re talking about sending an address for the device to then listen to the answer is no address in channel have to be set correctly for the device to hear any incoming messages.

On Dec 17, 2021, at 9:49 AM, Coding By Jerez @.***> wrote:

 Hello, I don't know much about low-level programming language :/ it's all new to me. Is it possible to specify the destination address or the channel only for sending a message ?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

KrisKasprzak commented 2 years ago

In that case your transmitter will just have to send a different address to each of the receiving devices. All can be on the same channel. I have the same set up we’re all units are on the same channel, and the same address I just sent along a ID so the sender and or receiver know which device it was sent from.

On Dec 17, 2021, at 12:14 PM, Coding By Jerez @.***> wrote:



For example, let's say I have 5 devices each with a LORA card each identified by a different address and all in the same Chanel Is it possible to send the message only To another device is not at all thanks to the address specification at the time of sending the message?

Envoyé de mon iPhone

Le 17 déc. 2021 à 18:23, Kris Kasprzak @.***> a écrit :

 I’m not sure what you mean if you’re talking about sending an address for the device to then listen to the answer is no address in channel have to be set correctly for the device to hear any incoming messages.

On Dec 17, 2021, at 9:49 AM, Coding By Jerez @.***> wrote:

 Hello, I don't know much about low-level programming language :/ it's all new to me. Is it possible to specify the destination address or the channel only for sending a message ?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.

CodingByJerez commented 2 years ago

ok, I'm going to do it like that so I thought we could specify it on the menu with an address, I thought I had read that in their instructions. Thank you a lot :)