Csr location demo application shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependencies: CsrLocation mbed GPSProvider
Fork of CsrLocationDemo by
Revision 2:b70e3a839116, committed 2014-03-26
- Comitter:
- zhjcpi
- Date:
- Wed Mar 26 09:17:18 2014 +0000
- Parent:
- 1:e6c96c984e2b
- Child:
- 3:7a3ed8ae071d
- Commit message:
- Optimization
Changed in this revision
| CsrLocation.lib | Show annotated file Show diff for this revision Revisions of this file |
| CsrLocationDemo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CsrLocation.lib Tue Mar 25 05:27:09 2014 +0000 +++ b/CsrLocation.lib Wed Mar 26 09:17:18 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/zhjcpi/code/CsrLocation/#bbaf9b8d646a +http://mbed.org/users/zhjcpi/code/CsrLocation/#d4fe184925f2
--- a/CsrLocationDemo.cpp Tue Mar 25 05:27:09 2014 +0000
+++ b/CsrLocationDemo.cpp Wed Mar 26 09:17:18 2014 +0000
@@ -28,8 +28,8 @@
static void _AppShowCmd(void);
-static void _AppOutputCallback(CsrUint32 msgId, void * const pMsgData, CsrUint32 msgLength);
-static void _AppEventCallback(eCsrLocEventType event, CsrUint32 data);
+static void _AppOutputCallback(uint32_t msgId, void * const pMsgData, uint32_t msgLength);
+static void _AppEventCallback(eCsrLocEventType event, uint32_t data);
static void _ConsoleRxHandler(void);
static void _AppCmdProcess(char *pCmd);
@@ -38,8 +38,8 @@
ePowerMode sPwrMode = PWR_FULL;
-static Serial sSerialDebug(USBTX, USBRX);
-static RawSerial sSerialLoc(p9, p10);;
+static RawSerial sSerialDebug(USBTX, USBRX);
+static RawSerial sSerialLoc(p9, p10);
static DigitalOut sPinOnoff(p5);
static DigitalOut sPinReset(p6);
static DigitalOut sLedLocOn(LED1);
@@ -169,7 +169,7 @@
}
-static void _AppOutputCallback(CsrUint32 msgId, void * const pMsgData, CsrUint32 msgLength)
+static void _AppOutputCallback(uint32_t msgId, void * const pMsgData, uint32_t msgLength)
{
switch(msgId)
{
@@ -194,7 +194,7 @@
}
}
-static void _AppEventCallback(eCsrLocEventType event, CsrUint32 data)
+static void _AppEventCallback(eCsrLocEventType event, uint32_t data)
{
switch(event)
{

GPS mbed Shield