Search found 2 matches

by jartieda
Thu Aug 27, 2020 10:44 am
Forum: Drivers for External Components
Topic: Driver for SIM800 SIM808
Replies: 1
Views: 3076

Re: Driver for SIM800 SIM808

I have added some corrections and UDP support (tested with ntp) import pyb from time import sleep import io AF_INET=2 AF_INET6=10 SOCK_DGRAM=2 SOCK_RAW=3 SOCK_STREAM=1 def getaddrinfo(host, port, af=0, type=0, proto=0, flags=0): canonname=flags family=(af, (host,port)) return [family, type, proto, c...
by jartieda
Wed Aug 26, 2020 9:57 am
Forum: Drivers for External Components
Topic: Driver for SIM800 SIM808
Replies: 1
Views: 3076

Driver for SIM800 SIM808

Hi I have implemented a socket class for sim808. This allows the use of sim808 with other micropython clases such as mqtt or even ssl It is still very untested and have a lot of things that are needed to fix. I just want to post it here to receive some feedback and contributions. Also I think that m...