By trial and error, I notice that I can only write 20 bytes to a characteristic, no matter how big I make ble_gatts_attr_t.max_len. A little googling reveals that this is a common limit in BLE and there are some special extended attributes to transfer larger blocks of data. Is there an app note or application example to do this?