Updates to the Trend Log object:

1. Added more of the required logic to the Trend Log write property handler.
2. Fixed some mistakes in the read property handler
3. TrendLog_Init now sets up data to allow for testing.
4. Enabled write property handling in main.c
This commit is contained in:
petermcs
2009-11-25 10:23:23 +00:00
parent 916067ec59
commit 35ec69c307
3 changed files with 230 additions and 35 deletions
+4 -2
View File
@@ -253,8 +253,10 @@ static void Init_Service_Handlers(
/* we must implement read property - it's required! */
apdu_set_confirmed_handler(SERVICE_CONFIRMED_READ_PROPERTY,
handler_read_property);
apdu_set_confirmed_handler(SERVICE_CONFIRMED_READ_PROP_MULTIPLE,
handler_read_property_multiple);
apdu_set_confirmed_handler(SERVICE_CONFIRMED_READ_RANGE,
handler_read_range);
apdu_set_confirmed_handler(SERVICE_CONFIRMED_WRITE_PROPERTY,
handler_write_property);
apdu_set_confirmed_handler(SERVICE_CONFIRMED_READ_RANGE,
handler_read_range);
apdu_set_confirmed_handler(SERVICE_CONFIRMED_PRIVATE_TRANSFER,