Csr location class shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependents: CsrLocationDemo CsrLocationDemo
Fork of CsrLocation by
Diff: CsrLocation.h
- Revision:
- 7:1fde78f27d5b
- Parent:
- 6:aed3c66b39d9
- Child:
- 8:fa29f8455134
--- a/CsrLocation.h Mon Aug 04 10:15:22 2014 +0000 +++ b/CsrLocation.h Tue Aug 05 06:22:16 2014 +0000 @@ -21,6 +21,8 @@ #define PINMAP_UART_LOC_RX D9 #define PINMAP_GPIO_LOC_ONOFF D11 #define PINMAP_GPIO_LOC_RESET D12 +#define PINMAP_GPIO_BTN D6 +#define PINMAP_GPIO_TEST D10 #define LOC_LED1 LED1 #define LOC_LED2 LED2 #define DBG_SERIAL_TYPE RawSerial @@ -33,6 +35,8 @@ #define PINMAP_GPIO_LOC_ONOFF D9 #define PINMAP_GPIO_LOC_WAKEUP D3 #define PINMAP_GPIO_LOC_RESET D4 +#define PINMAP_GPIO_BTN D6 +#define PINMAP_GPIO_TEST D10 #define LOC_LED1 D7 #define LOC_LED2 D5 #define DBG_SERIAL_TYPE Serial @@ -386,9 +390,6 @@ /** hw reset to get location chip into hibernation mode */ void CsrLocReset(void); - - /** get location state */ - eCsrLocState CsrLocGetState(void); /** Start location request, activate location chip */ void CsrLocStart(ePowerMode pwrMode, eProto proto);