Hi
I have been working on solving the problem, but i just can't see why it goes wrong.
The code under here is what i am trying to get to work (try21)
static count1 = 0;
if(count1 == 3){
while(count2 < 8){
fnSendMessageG(102,2);
fnSendMessageG(102,0);
fnSendMessageG(90,2);
count2++;
}
}
if(count1 == 5){
fnSendMessageG(40,2);
count1 = 0;
count2 = 0;
}
count1++;
}
but as you can see on the attach files not all the messages are getting send. And when i wait a bit longere the only messages getting sent is the global messages.
if i change the code to (try22)
static coun1 = 0;
if(count1 == 3){
fnSendMessageG(102,2);
fnSendMessageG(102,0);
}
if(count1 == 5){
fnSendMessageG(40,2);
fnSendMessageG(90,3);
count1 = 0;
}
count1++;
Do you have any idea what is wrong?
As much as i can see something goes wrong when it gets an ACK, but what i can't see..