Sequans cellular example fails
# help
r
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
Copy code
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
I am running jaguar
v1.7.12
and sdk
v2.0.0-alpha.44
The example under
/sequans-cellular/examples/monarch.toit
fails before it tries to configure the modem:
Copy code
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
k
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.
r
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 🙂
k
I hope to make progress on this tomorrow. I expect it to be fairly straight forward.
r
Great! I wasn't able to make it work myself, but I wasnt sure what to look for 🙂
k
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
.
Hi @Rikke! I've pushed an update to the cellular base package to fix the issue. Let me know if it works for you!
r
The example works now, thanks ! 👌