Skip to content

aws_publish IPPROTO_SEC type error #42

@StevenSOConnell

Description

@StevenSOConnell

Using the aws_publish example with umqtt installed on XBC KTE-M/NB-IoT modem firmware 11415 with L0.0.00.00.05.08 installed. When I run the example I get:

File "", line 58, in
File "", line 47, in publish_test
File "/flash/lib/umqtt/simple.py", line 61, in connect
TypeError: must use IPPROTO_SEC

What does this mean? MicroPython version 3.4.0.

In the Digi MicroPython Programming Guide PDF page 135 it says:

  • You can only wrap a socket created with protocol IPPROTO_SEC. Python3 uses IPPROTO_TCP

Does this mean this example will not run on my setup using Python 3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions