- Timestamp:
- 07/03/08 14:58:42 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/trnewman/CIREN/components/CIREN_CE/CIREN_CE.cpp
r7970 r7973 257 257 // process data here 258 258 app_type = tx_metadata->app_id; 259 260 printf("\n\nSENDING PACKET WITH APP ID = %i\n\n",app_type); 259 261 switch (app_type) { 260 262 case 1: … … 406 408 // process data here 407 409 app_type = rx_metadata->app_id; 410 printf("\n\nGETTING PACKET WITH APP ID = %i\n\n",app_type); 408 411 switch (app_type) { 409 412 case 0: … … 414 417 415 418 for (i=0; i<512; i++) 416 rx_control_data_out[i] = (*packet_data_in)[i]; 417 418 printf("\n\n---- N =%i\n\n\n",N_in); 419 printf("\n\n---- N =%i\n\n\n",N_in); 420 printf("\n\n---- N =%i\n\n\n",N_in); 419 //rx_control_data_out[i] = (*packet_data_in)[i]; 420 rx_control_data_out[i] = 1; 421 //printf("packet_data_in[%i] = %i",i,(*packet_data_in)[i]); 422 421 423 DEBUG(1, CIREN_CE, "1external control packet received!"); 422 424 // Send received control packet to CIREN_SM