Integrating the ublox LISA C200 modem

Fork of SprintUSBModemHTTPClientTest by Donatien Garnier

Committer:
sam_grove
Date:
Tue Oct 01 21:39:27 2013 +0000
Revision:
13:c920eb6774de
Parent:
5:3f93dd1d4cb3
Tested a few different URL's

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sam_grove 5:3f93dd1d4cb3 1 /* mbed Microcontroller Library
sam_grove 5:3f93dd1d4cb3 2 * Copyright (c) 2006-2013 ARM Limited
sam_grove 5:3f93dd1d4cb3 3 *
sam_grove 5:3f93dd1d4cb3 4 * Licensed under the Apache License, Version 2.0 (the "License");
sam_grove 5:3f93dd1d4cb3 5 * you may not use this file except in compliance with the License.
sam_grove 5:3f93dd1d4cb3 6 * You may obtain a copy of the License at
sam_grove 5:3f93dd1d4cb3 7 *
sam_grove 5:3f93dd1d4cb3 8 * http://www.apache.org/licenses/LICENSE-2.0
sam_grove 5:3f93dd1d4cb3 9 *
sam_grove 5:3f93dd1d4cb3 10 * Unless required by applicable law or agreed to in writing, software
sam_grove 5:3f93dd1d4cb3 11 * distributed under the License is distributed on an "AS IS" BASIS,
sam_grove 5:3f93dd1d4cb3 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
sam_grove 5:3f93dd1d4cb3 13 * See the License for the specific language governing permissions and
sam_grove 5:3f93dd1d4cb3 14 * limitations under the License.
sam_grove 5:3f93dd1d4cb3 15 */
sam_grove 5:3f93dd1d4cb3 16 #ifndef MBED_US_TICKER_API_H
sam_grove 5:3f93dd1d4cb3 17 #define MBED_US_TICKER_API_H
sam_grove 5:3f93dd1d4cb3 18
sam_grove 5:3f93dd1d4cb3 19 #include <stdint.h>
sam_grove 5:3f93dd1d4cb3 20
sam_grove 5:3f93dd1d4cb3 21 #ifdef __cplusplus
sam_grove 5:3f93dd1d4cb3 22 extern "C" {
sam_grove 5:3f93dd1d4cb3 23 #endif
sam_grove 5:3f93dd1d4cb3 24
sam_grove 5:3f93dd1d4cb3 25 uint32_t us_ticker_read(void);
sam_grove 5:3f93dd1d4cb3 26
sam_grove 5:3f93dd1d4cb3 27 typedef void (*ticker_event_handler)(uint32_t id);
sam_grove 5:3f93dd1d4cb3 28 void us_ticker_set_handler(ticker_event_handler handler);
sam_grove 5:3f93dd1d4cb3 29
sam_grove 5:3f93dd1d4cb3 30 typedef struct ticker_event_s {
sam_grove 5:3f93dd1d4cb3 31 uint32_t timestamp;
sam_grove 5:3f93dd1d4cb3 32 uint32_t id;
sam_grove 5:3f93dd1d4cb3 33 struct ticker_event_s *next;
sam_grove 5:3f93dd1d4cb3 34 } ticker_event_t;
sam_grove 5:3f93dd1d4cb3 35
sam_grove 5:3f93dd1d4cb3 36 void us_ticker_init(void);
sam_grove 5:3f93dd1d4cb3 37 void us_ticker_set_interrupt(unsigned int timestamp);
sam_grove 5:3f93dd1d4cb3 38 void us_ticker_disable_interrupt(void);
sam_grove 5:3f93dd1d4cb3 39 void us_ticker_clear_interrupt(void);
sam_grove 5:3f93dd1d4cb3 40 void us_ticker_irq_handler(void);
sam_grove 5:3f93dd1d4cb3 41
sam_grove 5:3f93dd1d4cb3 42 void us_ticker_insert_event(ticker_event_t *obj, unsigned int timestamp, uint32_t id);
sam_grove 5:3f93dd1d4cb3 43 void us_ticker_remove_event(ticker_event_t *obj);
sam_grove 5:3f93dd1d4cb3 44
sam_grove 5:3f93dd1d4cb3 45 #ifdef __cplusplus
sam_grove 5:3f93dd1d4cb3 46 }
sam_grove 5:3f93dd1d4cb3 47 #endif
sam_grove 5:3f93dd1d4cb3 48
sam_grove 5:3f93dd1d4cb3 49 #endif