mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
start collecting iPhone specific stuff in platform_iphone.m
This commit is contained in:
parent
43bfb1bd9c
commit
ac3013478d
13
src/platform_iphone.h
Normal file
13
src/platform_iphone.h
Normal file
@ -0,0 +1,13 @@
|
||||
//
|
||||
// platform_iphone.h
|
||||
//
|
||||
// support for the iPhone platform
|
||||
//
|
||||
// Created by Matthias Ringwald on 8/15/09.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "hci.h"
|
||||
|
||||
void platform_iphone_status_handler(BLUETOOTH_STATE state);
|
21
src/platform_iphone.m
Normal file
21
src/platform_iphone.m
Normal file
@ -0,0 +1,21 @@
|
||||
//
|
||||
// platform_iphone.m
|
||||
//
|
||||
// Created by Matthias Ringwald on 8/15/09.
|
||||
//
|
||||
|
||||
#import "platform_iphone.h"
|
||||
|
||||
// update SpringBoard icon
|
||||
void platform_iphone_status_handler(BLUETOOTH_STATE state){
|
||||
switch (state) {
|
||||
case BLUETOOTH_OFF:
|
||||
break;
|
||||
case BLUETOOTH_ON:
|
||||
break;
|
||||
case BLUETOOTH_ACTIVE:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user