Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not set signature and reply in GDBus tables | Lucas De Marchi | 2012-05-17 | 1 | -7/+7 |
| | | | | | Use GDBUS_* macros, so signature and reply fields are not set in each method/signal. | ||||
* | Convert GDBus methods to use macro helpers | Lucas De Marchi | 2012-05-17 | 1 | -8/+20 |
| | | | | | With these macro helpers we can separate in/out arguments and use their own vector. | ||||
* | Constify GDBus signal tables | Lucas De Marchi | 2012-05-17 | 1 | -1/+1 |
| | | | | | | | Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \; | ||||
* | Constify GDBus method tables | Lucas De Marchi | 2012-05-17 | 1 | -1/+1 |
| | | | | | | | Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \; | ||||
* | build: Remove glib-compat.h support | Marcel Holtmann | 2012-04-16 | 1 | -1/+0 |
| | |||||
* | thermometer: Fix D-Bus service disconnect watch removal | Anderson Lizardo | 2012-04-04 | 1 | -6/+10 |
| | | | | | | destroy_watcher() will be automatically called when removing the D-Bus watch (it was set as the destroy callback when adding the watch), therefore it is only necessary to remove the watch. | ||||
* | GATT: Replace start/end with att_range | Chen Ganir | 2012-03-26 | 1 | -2/+2 |
| | | | | | Use att_range struct instead of individual start/end handles in gatt_primary structure | ||||
* | GATT: Rename service and char structs | Chen Ganir | 2012-03-26 | 1 | -4/+4 |
| | | | | | | Rename the att_primary to gatt_primary and att_char to gatt_char. Characteristic and Service do not exist in the ATT spec, only in GATT. | ||||
* | thermometer: Fix re-enabling notification/indication on reconnection | Anderson Lizardo | 2012-02-16 | 1 | -14/+21 |
| | | | | | | If a result callback is not specified for gatt_write_char() it is assumed that Write Command will be used. This is not valid for Characteristic Descriptors, which only support Write Request. | ||||
* | thermometer: Fix handling of missing Temperature Type | Anderson Lizardo | 2012-02-16 | 1 | -8/+3 |
| | | | | | | | | | | | | According to HTS 1.0 (Table 3.1, and Sections 3.1.1.4 and 3.2), the Temperature Type Characteristic is optional. The only restriction is that it shall not be present if the Temperature Type is non-static, for which case the "Temperature Type" field shall be present on the Temperature Measurement Characteristic value. Given there is no default value specified when the Temperature Type is static and unknown, the "Type" entry for MeasurementReceived() on the Thermometer API was made optional. | ||||
* | thermometer: Use system types instead of glib ones | Santiago Carot-Nemesio | 2011-12-15 | 1 | -39/+39 |
| | |||||
* | thermometer: Fix bad read operation when time stamp is not provided | Santiago Carot-Nemesio | 2011-12-15 | 1 | -2/+8 |
| | | | | | | | | Time stamp value is an optional field provided in the measure, so next value in the array will start in a different index depending if the time stamp was provided or not. This patch check this case and update the index to a proper value in the byte array before reading the temperature type value. | ||||
* | thermometer: Fix possible NULL pointer deference | Santiago Carot-Nemesio | 2011-12-15 | 1 | -0/+15 |
| | | | | | | This patch checks the GATT server is connected before doing any GATT transaction. If it isn't, we abort the operation to avoid the NULL pointer deference problem. | ||||
* | thermometer: Process measurement interval indications | Santiago Carot-Nemesio | 2011-12-15 | 1 | -1/+10 |
| | | | | | This patch emits PropertyChange signal whenever a new value is set in the measurement interval characteristic. | ||||
* | thermometer: Configure C.C.C descriptor during thermometer configuration | Santiago Carot-Nemesio | 2011-12-15 | 1 | -8/+17 |
| | | | | | | This patch enables notification/indication in GATT server if there are any watcher regitered for measurements when the thermometer is configured. | ||||
* | thermometer: Implement SetProperty D-Bus method | Santiago Carot-Nemesio | 2011-12-15 | 1 | -19/+99 |
| | |||||
* | thermometer: Fix bad epoch time stamp generation | Santiago Carot-Nemesio | 2011-12-08 | 1 | -1/+1 |
| | | | | | The number of months is in the range 0 to 11, we have to decrease month number by 1 before getting the epoch. | ||||
* | Notify intermediate measurements | Santiago Carot-Nemesio | 2011-11-18 | 1 | -5/+42 |
| | |||||
* | Implement DisableIntermediateMeasurement D-Bus method | Santiago Carot-Nemesio | 2011-11-18 | 1 | -3/+60 |
| | |||||
* | Implement EnableIntermediateMeasurement D-Bus method | Santiago Carot-Nemesio | 2011-11-18 | 1 | -12/+62 |
| | |||||
* | Parse final measurement indication | Santiago Carot-Nemesio | 2011-11-18 | 1 | -1/+162 |
| | |||||
* | Manage GATT attribute indications in handle callback | Santiago Carot-Nemesio | 2011-11-18 | 1 | -1/+50 |
| | |||||
* | Implement D-Bus get properties function | Santiago Carot-Nemesio | 2011-11-02 | 1 | -3/+29 |
| | |||||
* | Manage watcher's disconnections from the bus | Santiago Carot-Nemesio | 2011-11-02 | 1 | -1/+10 |
| | |||||
* | Disable final measurements indication when last watcher is removed | Santiago Carot-Nemesio | 2011-11-02 | 1 | -1/+24 |
| | |||||
* | Enable final measurement indications when first watcher is enabled | Santiago Carot-Nemesio | 2011-11-02 | 1 | -1/+75 |
| | |||||
* | Implement D-Bus unregister watcher function | Santiago Carot-Nemesio | 2011-11-02 | 1 | -3/+27 |
| | |||||
* | Implement D-Bus register watcher function | Santiago Carot-Nemesio | 2011-11-02 | 1 | -3/+93 |
| | |||||
* | Get valid range descriptor if it is supported | Santiago Carot-Nemesio | 2011-11-02 | 1 | -1/+38 |
| | |||||
* | Process characteristic descriptors in the thermometer service | Santiago Carot-Nemesio | 2011-11-02 | 1 | -1/+76 |
| | |||||
* | Remove unnecessary casting in thermometer plugin | Santiago Carot-Nemesio | 2011-11-01 | 1 | -4/+2 |
| | |||||
* | Fix implicit declaration of 'g_slist_free_full' | Frédéric Danis | 2011-10-18 | 1 | -0/+5 |
| | | | | | | | | audio/avrcp.c: In function 'avrcp_unregister': audio/avrcp.c:1253: error: implicit declaration of function 'g_slist_free_full' thermometer/thermometer.c: In function 'destroy_char': thermometer/thermometer.c:79: error: implicit declaration of function 'g_slist_free_full' | ||||
* | Simplify process_thermometer_char() logic | Johan Hedberg | 2011-10-17 | 1 | -8/+4 |
| | |||||
* | Fix thermometer Intermediate property changes | Santiago Carot-Nemesio | 2011-10-17 | 1 | -1/+2 |
| | | | | | Set Intermediate property if intermediate temperature characteristic is supported | ||||
* | Read measurement interval characteristic | Santiago Carot-Nemesio | 2011-10-17 | 1 | -1/+69 |
| | |||||
* | Read temperature type characteristic | Santiago Carot-Nemesio | 2011-10-17 | 1 | -1/+30 |
| | |||||
* | Get all characteristics in thermometer service | Santiago Carot-Nemesio | 2011-10-17 | 1 | -0/+110 |
| | |||||
* | Add handler function to manage GATT indications | Santiago Carot-Nemesio | 2011-10-17 | 1 | -0/+17 |
| | |||||
* | Add functions to manage attio callbacks | Santiago Carot-Nemesio | 2011-10-17 | 1 | -0/+28 |
| | |||||
* | Unregister Health Thermometer Interface | Santiago Carot-Nemesio | 2011-10-17 | 1 | -1/+22 |
| | |||||
* | Register Health Thermometer Interface | Santiago Carot-Nemesio | 2011-10-17 | 1 | -1/+109 |
| | |||||
* | Get thermometer service range to load the driver. | Santiago Carot-Nemesio | 2011-10-17 | 1 | -1/+4 |
| | |||||
* | Remove per-file author information | Johan Hedberg | 2011-07-29 | 1 | -3/+0 |
| | | | | | In the long run this information becomes a pain to maintain and it is already covered by the AUTHORS file and the git commit history. | ||||
* | Add thermometer driver skeleton | Santiago Carot-Nemesio | 2011-07-29 | 1 | -0/+41 |