Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 3:47aaf0ebde35, committed 2014-11-04
- Comitter:
- rgrover1
- Date:
- Tue Nov 04 11:31:49 2014 +0000
- Parent:
- 2:0893ad528287
- Child:
- 4:f35227b1f341
- Child:
- 5:900c3ab6c090
- Commit message:
- improvements from Jie;; add support for ioctl()
Changed in this revision
| GPSProvider.cpp | Show annotated file Show diff for this revision Revisions of this file |
| GPSProviderImplBase.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/GPSProvider.cpp Mon Nov 03 07:38:29 2014 +0000
+++ b/GPSProvider.cpp Tue Nov 04 11:31:49 2014 +0000
@@ -60,6 +60,12 @@
return impl->getDeviceInfo();
}
+uint32_t
+GPSProvider::ioctl(uint32_t command, void *arg)
+{
+ return impl->ioctl(command, arg);
+}
+
bool
GPSProvider::locationAvailable(void) const
{
--- a/GPSProviderImplBase.h Mon Nov 03 07:38:29 2014 +0000
+++ b/GPSProviderImplBase.h Tue Nov 04 11:31:49 2014 +0000
@@ -27,6 +27,7 @@
virtual void stop(void) = 0;
virtual void process(void) = 0;
virtual void lpmGetImmediateLocation(void) = 0;
+ virtual uint32_t ioctl(uint32_t command, void *arg) = 0;
virtual bool haveDeviceInfo(void) const {
return (deviceInfo != NULL);