guild icon
Toit
#Sequans cellular example fails
Thread channel in help
Rikke
Rikke 12/08/2022 02:04 PM
Sequans cellular:
https://github.com/toitware/sequans-cellular

Hello, I'm trying to run the Sequans cellular modem driver for the Monarch, but I'm getting an error.

$ jag container install cellular-monarch src/monarch.toit

Installing container 'cellular-monarch' from 'src/monarch.toit' on 'vigorous-discount' ... <pkg:cellular>/service.toit:77:23: error: Unresolved identifier: 'image_config' image ::= esp32.image_config or {:} ^~~~~~~~~~~~ Compilation failed. Usage: jag container install <name> <file> [flags] Flags: --assets string attach assets to the container -D, --define stringArray define settings to control container on device -d, --device string use device with a given name, id, or address -h, --help help for install

I don't know if I am doing something wrong, or if something is missing from the service.toit file at position 77:23
Contribute to toitware/sequans-cellular development by creating an account on GitHub.
Rikke
Rikke 12/08/2022 02:12 PM
I am running jaguar v1.7.12 and sdk v2.0.0-alpha.44
Rikke
Rikke 12/08/2022 02:32 PM
The example under /sequans-cellular/examples/monarch.toit fails before it tries to configure the modem:
Opening cellular network ****************************************************************************** Decoding by `jag`, device has version <2.0.0-alpha.44> ****************************************************************************** EXCEPTION error. cellular unavailable 0: open <sdk>/net/cellular.toit:33:19 1: main monarch.toit:31:14 ****************************************************************************** [jaguar] ERROR: program 70456d49-c2a4-5576-a4bd-434bffebdb6a stopped - exit code 1
bitphlipphar
bitphlipphar 12/08/2022 03:14 PM
Thanks. Will try to get this fixed soon. It is just a matter of the Sequans Monarch driver not keeping up with the SDK releases.
👍1
Rikke
Rikke 12/09/2022 07:36 AM
FYI: I've also tried on jaguar v1.7.1 and sdk v2.0.0-alpha.33 with same result. Not sure if this helps :🙂:
bitphlipphar
bitphlipphar 12/12/2022 01:54 PM
I hope to make progress on this tomorrow. I expect it to be fairly straight forward.
Rikke
Rikke 12/12/2022 02:02 PM
Great! I wasn't able to make it work myself, but I wasnt sure what to look for :🙂:
bitphlipphar
bitphlipphar 12/12/2022 02:56 PM
The config handling was updated, so we can now have assets for individual services. I just need to start using that instead of esp32.image_config.
👍1
bitphlipphar
bitphlipphar 12/15/2022 10:16 AM
Hi @Rikke! I've pushed an update to the cellular base package to fix the issue. Let me know if it works for you!
Rikke
Rikke 12/15/2022 10:27 AM
The example works now, thanks ! :👌:
10 messages in total