How to send long ir raw code through xbee?
Posted: Sun May 10, 2015 1:09 am
Dear sir,
This is my long ir raw code , and i have to send it from arduino through xbee which limit payload 250 byte. Is there have any way to achieve it?
/*
Automatically Generated by AnalysIR - Batch Export Utility
Registered to: imissyou27@hotmail.com
Session History
Type : Key : Value : Bits
0 : ELECTROLUX134AC : : 201403029100200074028060720000000A : 134
*/
int khz=38; //NB Change this default value as neccessary to the correct carrier frequency
unsigned int Signal_0_0[] = {9004,4504,644,1644,664,540,668,540,664,568,640,568,640,568,636,568,640,568,640,568,636,1672,640,568,636,1644,668,564,644,540,664,540,668,564,644,568,636,568,640,544,664,568,640,1644,664,1640,668,564,644,540,664,540,664,568,644,540,664,540,664,1676,636,540,664,1668,644,540,664,544,668,1668,636,568,640,20008,640,544,664,568,636,1648,664,540,664,568,644,540,664,544,660,568,644,564,640,564,644,540,664,568,640,568,640,1668,640,544,664,568,640,564,640,544,664,540,664,568,668,516,664,540,664,568,636,548,664,540,664,544,660,572,640,540,664,1668,644,1644,664,1644,664,544,664,40000,9004,4480,664,1648,664,540,664,568,640,568,640,544,664,564,640,544,664,544,664,568,636,1676,636,540,664,1672,640,564,644,564,640,540,664,544,668,568,636,544,664,568,636,568,640,1644,664,1668,644,540,664,544,664,572,636,544,664,540,664,568,636,1648,664,1668,644,1644,660,572,636,548,660,1644,664,568,640,19984,664,568,640,544,664,568,636,568,644,560,644,564,640,568,640,568,636,568,644,568,636,568,640,564,640,568,636,572,640,568,636,568,640,568,636,572,640,568,636,568,640,568,636,572,636,568,640,568,640,568,640,568,636,568,636,572,640,1668,640,564,640,1672,640,568,636}; //AnalysIR Batch Export - RAW
My_Sender.IRsendRaw::send(Signal_0_0, sizeof(Signal_0_0)/sizeof(int), khz); //AnalysIR Batch Export (IRLib) - RAW
// AnalysIR IR Protocol: ELECTROLUX134AC, Key:
This is my long ir raw code , and i have to send it from arduino through xbee which limit payload 250 byte. Is there have any way to achieve it?
/*
Automatically Generated by AnalysIR - Batch Export Utility
Registered to: imissyou27@hotmail.com
Session History
Type : Key : Value : Bits
0 : ELECTROLUX134AC : : 201403029100200074028060720000000A : 134
*/
int khz=38; //NB Change this default value as neccessary to the correct carrier frequency
unsigned int Signal_0_0[] = {9004,4504,644,1644,664,540,668,540,664,568,640,568,640,568,636,568,640,568,640,568,636,1672,640,568,636,1644,668,564,644,540,664,540,668,564,644,568,636,568,640,544,664,568,640,1644,664,1640,668,564,644,540,664,540,664,568,644,540,664,540,664,1676,636,540,664,1668,644,540,664,544,668,1668,636,568,640,20008,640,544,664,568,636,1648,664,540,664,568,644,540,664,544,660,568,644,564,640,564,644,540,664,568,640,568,640,1668,640,544,664,568,640,564,640,544,664,540,664,568,668,516,664,540,664,568,636,548,664,540,664,544,660,572,640,540,664,1668,644,1644,664,1644,664,544,664,40000,9004,4480,664,1648,664,540,664,568,640,568,640,544,664,564,640,544,664,544,664,568,636,1676,636,540,664,1672,640,564,644,564,640,540,664,544,668,568,636,544,664,568,636,568,640,1644,664,1668,644,540,664,544,664,572,636,544,664,540,664,568,636,1648,664,1668,644,1644,660,572,636,548,660,1644,664,568,640,19984,664,568,640,544,664,568,636,568,644,560,644,564,640,568,640,568,636,568,644,568,636,568,640,564,640,568,636,572,640,568,636,568,640,568,636,572,640,568,636,568,640,568,636,572,636,568,640,568,640,568,640,568,636,568,636,572,640,1668,640,564,640,1672,640,568,636}; //AnalysIR Batch Export - RAW
My_Sender.IRsendRaw::send(Signal_0_0, sizeof(Signal_0_0)/sizeof(int), khz); //AnalysIR Batch Export (IRLib) - RAW
// AnalysIR IR Protocol: ELECTROLUX134AC, Key: