I use dialog as a "proximity reporter". I want to send data from dialog to phone.
Based on sample128 code, I modify the `val` member of `struct xxx_val_ind` & `struct xxx_upd_char2_req` & `struct xxx_receiver_val` seems like:
struct myapp_receiver_val
{
/// Connection handle
uint16_t conhdl;
/// Value
uint8_t val[30];
};
The question is, it sends 13 bytes at most. How to send more data in one time?
Could you send me some documents or codes for this issue?
Thank you!
我希望尽快获得帮助,在这里提case相当不便,能否提供技术支持的联系方式或其他更快捷的途径?多谢!
Device:
你好,你查nge the corresponding length in attmdb_add_attribute() and attmdb_att_set_value() as well ?
Hi Zheng Li
Have you changed the values in the sample128_create_db_req_handler() function to the new size? Please try to run the custom profile and change in sample128.h the variable typedef unsigned char my_new_t[8]; into typedef unsigned char my_new_t[30]; to have a quick look if it works for you.
Thanks MT_dialog.
Hi summer20100514, MT_dialog
You are right, I missed a variable to modify. Now problem solved. Thank you!