Post Created date
Ring Buffer
OK, Another odd one, why does the count not decrement 55, 54, 53......, 5, 4, 3, 2, 1.  Why is it all other the place.  Do you think this is the echo affecting my...
Monday, 23 May 2016 - 21:11
Ring Buffer
Hi kk6gm,   I think you mean this.  I have added output and the code.  Let me know if you require something else. Thanks for your help.   +CMT: "+441234567890...
Monday, 23 May 2016 - 20:29
Ring Buffer
@ dbrion0606 Hi,   I have the UART connected to the modem using the Tx and Rx line, paralleled off from these lines is a rs232 board going off to hyper terminal ....
Monday, 23 May 2016 - 16:26
Ring Buffer
+CMT: "+441234567890","","16/05/23,17:09:37+04" Test 1 60 64 +68 472 76 80 +84 688 892 96 100 4105 7110 2115 120 125 130 135 140 1145 3150 while(1) { BufferCount =...
Monday, 23 May 2016 - 16:18
Ring Buffer
Hi Clawson,   I have added your modifications, after the initial string, it constantly prints random numbers to terminal. char countbuf[20]; while(1) { BufferCount...
Monday, 23 May 2016 - 15:34
Ring Buffer
Yes it prints correctly, but I cannot stop it, it prints over and over and over.  The condition of BufferCount never reaches zero.  My if condition is wrong some how,...
Monday, 23 May 2016 - 14:56
Ring Buffer
A calculated guess, Buffer will never empty when printing chars, so BufferCount will always be greater than 1, and the loop will keep printing.  If the string is printed,...
Monday, 23 May 2016 - 14:42
Ring Buffer
Yes OK, my mistake, a char a time, that prints my whole string to terminal.   +CMT: "+441234567890","","16/05/23,14:45:51+04" Test  
Monday, 23 May 2016 - 14:24
Ring Buffer
Clawson,   I need your guru help.   I just cant do it.  If the buffer went back to zero on every removal of the string it would be easy, but I just cannot get main...
Monday, 23 May 2016 - 14:10
Ring Buffer
Hi Kartman,   I would be happy to parse the below string, but I just cannot get it in and out of the buffer all in one string:   +CMT:"+441234567890","","16/05/20,12:10...
Friday, 20 May 2016 - 14:17
Ring Buffer
/************ This part works great ******/ // initial hello from modem to mcu after text "Test" sent +CMT: "+441234567890","","16/05/20,12:10:39+04" Test 52 // number of values...
Friday, 20 May 2016 - 12:09
Ring Buffer
Hi kk6gm and bodgardener,   It looks like a head tail problem, it is not going round in a circle.  If I send data 1 three times, it overflows and the mcu restarts....
Friday, 20 May 2016 - 10:35

Pages