LoRa & Basic Ingest

0

I'm just now learning about the Basic Ingest feature which could be a great fit for our use case. We're interested primarily in LoRa Device -> Gateway -> AWS Wireless -> Basic Ingest -> Rule -> 3rd Party Application

Where we're interested in getting the Lora encoded messages into the 3rd party application as quickly and cheaply as possible. Even considering doing the Lora payload decoding outside of AWS too.

Basic Ingest seems to be a nice fit, but it's not clear how to properly utilize for Lora devices in AWS.
For example, non-Lora devices allow you to specify the topic at the device level. Whereas Lora devices do not.

Also, Lora Wireless Destinations are not clear on whether to specify the basic ingest topic (which calls the rule using $aws/rules/basic_ingest_rule OR to call a rule directly? I understand Basic Ingest is about bypassing the message broker to call rules directly, but which is the correct method?

Should I use:

Enter a rule name Enter the name of the rule or a rule/topic that will process the messages sent to this destination. (where the basic_ingest_rulerule is selected)

or

Publish to AWS IoT Core message broker If you need a publish/subscribe broker to distribute messages to multiple subscribers (where the topic is $aws/rules/basic_ingest_rule)

preguntada hace 2 años270 visualizaciones
1 Respuesta
0
Respuesta aceptada

Hi. Unfortunately Basic Ingest does not apply to LoRaWAN messages. Per the documentation: https://docs.aws.amazon.com/iot/latest/developerguide/iot-basic-ingest.html

Basic Ingest optimizes data flow by removing the publish/subscribe message broker from the ingestion path, making it more cost effective.

The publish/subscribe message broker it not normally involved in LoRaWAN message ingestion, hence there is nothing for basic ingest to remove.

For the destination, to optimize for cost, you should use a rule as in the destination. You can use the rule to send the base64 encoded binary payload directly onto another service; you are not obligated to first decode it with a Lambda.

profile pictureAWS
EXPERTO
Greg_B
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas