ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#define LOG_TAG "HWINFO"
 
#include <stdio.h>
#include <utils/Log.h>
#include "libhwinfo.h"
 
int main(void)
{
   const char *vendor  = get_wifi_vendor_name();
   const char *module  = get_wifi_module_name();
   const char *wifihal = get_wifi_hal_name();
   const char *libbt   = get_bluetooth_libbt_name();
   int bt_support      = get_bluetooth_is_support();
 
   ALOGD("********** Wireless information **********");
   ALOGD("module vendor: %s", vendor);
   ALOGD("module name  : %s", module);
   ALOGD("wifi hal name: %s", wifihal);
   ALOGD("libbt-vendor : %s", libbt);
   ALOGD("is bt support: %d", bt_support);
   ALOGD("******************************************");
 
   return 0;
}