Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. jkeyser
    J
    • Continue chat with jkeyser
    • Start new chat with jkeyser
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    jkeyser

    @jkeyser

    0
    Reputation
    10
    Posts
    145
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jkeyser Follow

    Posts made by jkeyser

    • RE: Uploading mqtt certificates to LTE module

      @ajb2k3 Maybe im misunderstanding how it works, but I believe you have to upload the certificates to the modem itself using AT commands.

      What i ended up doing was uploading the certs to the device, then just doing an open() in python, then sent those over UART using AT commands to the modem. Everything is working fine now, but not sure if this is the 'proper' way to do it.

      posted in General
      J
      jkeyser
    • RE: Uploading mqtt certificates to LTE module

      @ajb2k3 normally I use the vscode extension, but for basic testing right now im using uiflow

      posted in General
      J
      jkeyser
    • Uploading mqtt certificates to LTE module

      How should i go about uploading certificates for mqtt to the LTE module?

      Mainly im looking for how they should be formatted. Currently im just copy-pasting the raw text from the .pem file and uploading it over UART/AT commands, but i keep getting ssl errors and i suspect its because the certificates are not being read in correctly. Ive also tried a string with \n after each line.

      EX:

      AT+CCERTDOWN="clientcert.pem", 1219
      > {raw string of .pem cert}

      posted in General
      J
      jkeyser
    • RE: COM.LTE Module not responding

      @felmue
      Thanks, while looking into that I found i wasn't also unable to open any sort of connection to send AT commands. Turns out i misunderstood the dip settings for the core 2. Set to 16/17 on the modem and 14/13 on uiflow init and i have communication now.

      posted in Modules
      J
      jkeyser
    • COM.LTE Module not responding

      Using this module with an external power supply along with the Core 2. No other modules attached at the moment.
      https://shop.m5stack.com/products/com-lte-modulesim7600g

      Only code uploaded is the example provided on uiflow, but i cant get any sort of response. The only output i get is "Text" in the top left of the screen. The program seems to hang during init and never makes it past that point. Confirmed DC power switch is on the correct setting, as well as the tx/rx dip switches.

      Flashing the easyloader results in no output to the screen, as well as a high pitched ringing from the modem

      Setting COM.X to true on m5burner gives the error 'module stable timeout'


      from m5stack import *
      from m5stack_ui import *
      from uiflow import *
      from comx.lte import LTE

      screen = M5Screen()
      screen.clean_screen()
      screen.set_screen_bg_color(0xFFFFFF)

      resp = None

      label0 = M5Label('label0', x=33, y=36, color=0x000, font=FONT_MONT_14, parent=None)
      label1 = M5Label('label1', x=37, y=63, color=0x000, font=FONT_MONT_14, parent=None)
      label2 = M5Label('label2', x=35, y=91, color=0x000, font=FONT_MONT_14, parent=None)
      label3 = M5Label('label3', x=36, y=114, color=0x000, font=FONT_MONT_14, parent=None)

      lte = LTE(tx=13, rx=5)
      label0.set_text(str(lte.check_status()))
      label1.set_text(str(lte.get_single_quality()))
      label2.set_text(str(lte.get_network_registration()))
      label3.set_text(str(lte.get_gprs_network_registration()))
      while True:
      if str((lte.get_gprs_network_registration())) == '1':
      # echo "test"
      resp = lte.http_get('http://www.m2msupport.net/m2msupport/test.php')
      if resp:
      label4.set_text(str(resp[1]))
      wait_ms(2)

      posted in Modules
      J
      jkeyser
    • RE: Boot straight to python script

      @closedcolobus havent solved it yet unfortunately. Right now i just have 'import main' in boot.py which at least starts my program every boot, trying to look into modifying the firmware somehow but havent made much progress yet

      posted in General
      J
      jkeyser
    • RE: Boot straight to python script

      @ajb2k3 Currently using the Core 2, and id say intermediate experience with micropython. I'm able to get it to autostart main.py on boot, but only after it displays the boot logo and then the main menu for a few seconds. On m5burner disabling "show boot menu" doesn't seem to do anything.

      posted in General
      J
      jkeyser
    • Boot straight to python script

      Is there anyway to skip the uiflow logo + menu and immediately start main.py?

      posted in General
      J
      jkeyser