Page 1 of 1

Post a picture over SSL

Posted: Sun May 20, 2018 12:30 am
by martindr
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.

Re: Post a picture over SSL

Posted: Mon May 21, 2018 11:51 pm
by kwagyeman
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.

Re: Post a picture over SSL

Posted: Tue May 22, 2018 10:36 pm
by martindr
Thanks so much for the reply.

I've logged the issue. https://github.com/openmv/openmv/issues/348

Re: Post a picture over SSL

Posted: Wed May 23, 2018 2:00 am
by kwagyeman
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.

Re: Post a picture over SSL

Posted: Wed May 23, 2018 10:53 am
by martindr
Thanks. I'll be happy with any way to make SSL work.

Re: Post a picture over SSL

Posted: Wed May 23, 2018 8:35 pm
by kwagyeman
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...