Hi all,
i kindly ask for your help about some compile time error of my application:
1)
RoutingP.nc::In function FUtility:
RoutingP.nc:113: syntax error before character 0226
RoutingP.nc:118: syntax error before character 0226

This is my code:
float FUtility(float a, float BSX [], float BSY []) {

  uint8_t Alfa= 0.5, Beta=0.5;
  float mod, Teta, dmin, d, Phi, U, vettA[2], vettV[2];
  
  
  vettA[0]=(BSX[index])-(local.readGps[reading].latitude) ;
  vettA[1]=(BSY[index])-(local.readGps[reading].longitude);
  
  if (reading==0) {
   vettV[0]=((local.readGps[reading].latitude) 
-(local.readGps[NREADINGS].latitude));
   vettV[1]=((local.readGps[reading].longitude)- 
(local.readGps[NREADINGS].longitude));
  }
  
  else {
   vettV[0]=((local.readGps[reading].latitude) 
-(local.readGps[reading-1].latitude));
   vettV[1]=((local.readGps[reading].longitude)- 
(local.readGps[reading-1].longitude));
  
  }
...
2)
The BlockStorageC component and BlockWrite, BlockRead interfaces aren't found.
Can TOSSIM run these component and interfaces?

Thanks, best regards

Omar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to