
Example program running mbedClient over UbloxATCellularInterface or OnboardCellularInterface for the C030 platform.
Dependencies: ublox-cellular-base ublox-at-cellular-interface ublox-ppp-cellular-interface ublox-at-cellular-interface-n2xx ublox-cellular-base-n2xx
security.h@16:d4f4a9dfa938, 2018-02-28 (annotated)
- Committer:
- RobMeades
- Date:
- Wed Feb 28 14:58:04 2018 +0000
- Revision:
- 16:d4f4a9dfa938
- Parent:
- 1:9f355da25904
Update to latest libraries and replace UbloxPPPCellularInterface with OnboardCellularInterface.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rob.meades@u-blox.com | 1:9f355da25904 | 1 | /* |
rob.meades@u-blox.com | 1:9f355da25904 | 2 | * Copyright (c) 2015 ARM Limited. All rights reserved. |
rob.meades@u-blox.com | 1:9f355da25904 | 3 | * SPDX-License-Identifier: Apache-2.0 |
rob.meades@u-blox.com | 1:9f355da25904 | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
rob.meades@u-blox.com | 1:9f355da25904 | 5 | * not use this file except in compliance with the License. |
rob.meades@u-blox.com | 1:9f355da25904 | 6 | * You may obtain a copy of the License at |
rob.meades@u-blox.com | 1:9f355da25904 | 7 | * |
rob.meades@u-blox.com | 1:9f355da25904 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
rob.meades@u-blox.com | 1:9f355da25904 | 9 | * |
rob.meades@u-blox.com | 1:9f355da25904 | 10 | * Unless required by applicable law or agreed to in writing, software |
rob.meades@u-blox.com | 1:9f355da25904 | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
rob.meades@u-blox.com | 1:9f355da25904 | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
rob.meades@u-blox.com | 1:9f355da25904 | 13 | * See the License for the specific language governing permissions and |
rob.meades@u-blox.com | 1:9f355da25904 | 14 | * limitations under the License. |
rob.meades@u-blox.com | 1:9f355da25904 | 15 | */ |
rob.meades@u-blox.com | 1:9f355da25904 | 16 | |
rob.meades@u-blox.com | 1:9f355da25904 | 17 | /* IMPORTANT: THIS IS A DUMMY FILE! To use this example you must first |
rob.meades@u-blox.com | 1:9f355da25904 | 18 | * register with the mbed Connector here: |
rob.meades@u-blox.com | 1:9f355da25904 | 19 | * |
rob.meades@u-blox.com | 1:9f355da25904 | 20 | * https://connector.mbed.com/ |
rob.meades@u-blox.com | 1:9f355da25904 | 21 | * |
rob.meades@u-blox.com | 1:9f355da25904 | 22 | * ...and generate your own copy of the file security.h, replacing this file |
rob.meades@u-blox.com | 1:9f355da25904 | 23 | * with that one and recompiling/downloading the code to your board. |
rob.meades@u-blox.com | 1:9f355da25904 | 24 | */ |
rob.meades@u-blox.com | 1:9f355da25904 | 25 | |
rob.meades@u-blox.com | 1:9f355da25904 | 26 | #ifndef __SECURITY_H__ |
rob.meades@u-blox.com | 1:9f355da25904 | 27 | #define __SECURITY_H__ |
rob.meades@u-blox.com | 1:9f355da25904 | 28 | |
rob.meades@u-blox.com | 1:9f355da25904 | 29 | #include <inttypes.h> |
rob.meades@u-blox.com | 1:9f355da25904 | 30 | |
rob.meades@u-blox.com | 1:9f355da25904 | 31 | #error THIS IS A DUMMY FILE! Generate your own one by logging into https://connector.mbed.com/. |
rob.meades@u-blox.com | 1:9f355da25904 | 32 | |
rob.meades@u-blox.com | 1:9f355da25904 | 33 | #define MBED_DOMAIN "" |
rob.meades@u-blox.com | 1:9f355da25904 | 34 | #define MBED_ENDPOINT_NAME "" |
rob.meades@u-blox.com | 1:9f355da25904 | 35 | |
rob.meades@u-blox.com | 1:9f355da25904 | 36 | const uint8_t SERVER_CERT[] = ""; |
rob.meades@u-blox.com | 1:9f355da25904 | 37 | |
rob.meades@u-blox.com | 1:9f355da25904 | 38 | const uint8_t CERT[] = ""; |
rob.meades@u-blox.com | 1:9f355da25904 | 39 | |
rob.meades@u-blox.com | 1:9f355da25904 | 40 | const uint8_t KEY[] = ""; |
rob.meades@u-blox.com | 1:9f355da25904 | 41 | |
rob.meades@u-blox.com | 1:9f355da25904 | 42 | #endif //__SECURITY_H__ |