Post a picture over SSL

General discussion about topics related to OpenMV.
martindr
Posts: 3
Joined: Sun May 20, 2018 12:19 am

Post a picture over SSL

Postby martindr » Sun May 20, 2018 12:30 am

I'm new to both OpenMV and MicroPython and am trying to post detected faces to a cloud endpoint over SSL. When I add an import ussl I encounter an error "no module named 'ussl'".

Does MicroPython on the Open MV 7 support the ussl library? And if not, I don't understand why it is documented at http://docs.openmv.io/library/ussl.html.
User avatar
kwagyeman
Posts: 2286
Joined: Sun May 24, 2015 2:10 pm

Re: Post a picture over SSL

Postby kwagyeman » Mon May 21, 2018 11:51 pm

Mmm, we pull a lot of documentation from MicroPython in. Um, this module may not be enabled in the firmware. But, we have space for the feature on the M7.

Can you post a bug report on the github? Here: https://github.com/openmv/openmv/issues

If it's just an enable issue we should be able to fix this ASAP.
Nyamekye,
martindr
Posts: 3
Joined: Sun May 20, 2018 12:19 am

Re: Post a picture over SSL

Postby martindr » Tue May 22, 2018 10:36 pm

Thanks so much for the reply.

I've logged the issue. https://github.com/openmv/openmv/issues/348
User avatar
kwagyeman
Posts: 2286
Joined: Sun May 24, 2015 2:10 pm

Re: Post a picture over SSL

Postby kwagyeman » Wed May 23, 2018 2:00 am

Ibrahim is looking into this. Given we use the WINC1500 I believe the USSL library cannot be used directly however. The module requires another way of operating. But, it does have SSL support.
Nyamekye,
martindr
Posts: 3
Joined: Sun May 20, 2018 12:19 am

Re: Post a picture over SSL

Postby martindr » Wed May 23, 2018 10:53 am

Thanks. I'll be happy with any way to make SSL work.
User avatar
kwagyeman
Posts: 2286
Joined: Sun May 24, 2015 2:10 pm

Re: Post a picture over SSL

Postby kwagyeman » Wed May 23, 2018 8:35 pm

Okay, it's on the todo list. That said, we just did a firmware update 2 weeks ago and I'm still recovering from Maker Faire. I should be able to get up and fixing bus again this weekend ish...
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 6 guests