But I want to do the same automatically, between two nRF52832 Blue Feather modules.
I found the following instructions, but couldn't implement the same for the nRF52832 module code.
Code: Select all
/* The Image Transfer module sends the image of your choice to Bluefruit LE over UART.
* Each image sent begins with
* - A single byte char '!' (0x21) followed by 'I' helper for image
* - Color depth: 24-bit for RGB 888, 16-bit for RGB 565
* - Image width (uint16 little endian, 2 bytes)
* - Image height (uint16 little endian, 2 bytes)
* - Pixel data encoded as RGB 16/24 bit and suffixed by a single byte CRC.
*
* Format: [ '!' ] [ 'I' ] [uint8_t color bit] [ uint16 width ] [ uint16 height ] [ r g b ] [ r g b ] [ r g b ] … [ CRC ]
*/