Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Socket Server Python

What is this function?

This function creates a TCP socket server on port 8001 and relays the messages it receives on that socket to AWS IoT

What does the output look like?

${AWS_IOT_THING_NAME} is the name of the thing associated with your Core.

When the function receives a message on socket it will publish the data it receives on the ${AWS_IOT_THING_NAME}/socketserver/output topic that looks like this:

{
  "message": "message from client"
}