0

Bluefruit image transfer example
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Bluefruit image transfer example

by josheskin on Tue Jan 28, 2020 2:39 am

I am looking for CircuitPython example code that shows how to receive a bitmap image over bluetooth and display that bitmap using displayio library. Using an ItsyBitsy nRF52840 connected to an e-paper friend and 2.9" flexible e-paper display. This guide https://learn.adafruit.com/bluefruit-le ... e-transfer comes the closest to describing how to transfer an image using the Bluefruit LE Connect app. But, I have not been able to find any circuitpython code that receives the bitmap in the right format and sends it to the display.

josheskin
 
Posts: 2
Joined: Wed Jan 01, 2020 5:18 pm

Re: Bluefruit image transfer example

by adafruit_support_mike on Wed Jan 29, 2020 2:20 am

[moved to the CircuitPython forum]

adafruit_support_mike
 
Posts: 60733
Joined: Thu Feb 11, 2010 2:51 pm

Re: Bluefruit image transfer example

by tannewt on Wed Jan 29, 2020 3:21 pm

Hi josheskin, I don't believe we have one yet. The Arduino source is here if you'd like to convert it over: https://github.com/adafruit/Adafruit_nR ... upload.ino

tannewt
 
Posts: 1490
Joined: Thu Oct 06, 2016 8:48 pm

Re: Bluefruit image transfer example

by josheskin on Fri Jan 31, 2020 6:20 pm

Thank you, I will give it a try. It looks like I need to define a new type of Packet, called BitmapPacket, that defines a data format that matches how the bitmaps are sent by the Bluefruit Connect app.

josheskin
 
Posts: 2
Joined: Wed Jan 01, 2020 5:18 pm

Please be positive and constructive with your questions and comments.


cron