-
Hello, I am new to tinyos and nesc. and I have the following data strucuture
typedef nx_struct rt_link {
nx_addr_t target;
nx_addr_t nexthop;
} rt_link_t;
typedef struct rt_entry {
double some_double;
uint8_t some_int;
} rt_entry_t;
uint8_t flag = 0x01;
uint8_t i=0;
rt_link_t * buf;
rt_entry_t table[10];
if ( flag & 0x01)
{
buf[i].target = table[i].some_double;.
2009-08-27 17:54:22 UTC in TinyOS
-
And the tp_smapi version is 0.39 which I am using.
2009-03-08 15:23:29 UTC in tpctl
-
Hi,
I just install tp_smapi module on my laptop. and set the start_charge_thresh by using:
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
It is works fine at beginning. but every time when I shutdown and power on the laptop, the value of start_charge_thresh is set back the default value '96'.
it seems like system reload the smapi module when boot up and reset all the...
2009-03-08 15:14:45 UTC in tpctl