added k60d100m project
[adk-bluetooth-test.git] / adk-stack / adapter / fwk.c
blob18b7b6790be1581eae6cbceccd60ed78e0ce0505
1 /*
2 * Copyright (C) 2012 The Android Open Source Project
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 #define ADK_INTERNAL
17 #include "fwk.h"
19 #define TRACE_DEBUG(...)
20 #define assert(...)
22 static uint8_t volume = 255;
24 void cpuGetUniqId(uint32_t* dst){ //produce the 128-bit unique ID
25 printf("cpuGetUniqId\n");
28 void fwkInit(void){
29 printf("fwkInit\n");
32 uint8_t getVolume(void){
34 return volume;
37 void setVolume(uint8_t vol){
39 volume = vol;