react-native-beidou 1.1.3 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/Compass.android.tsx +4 -12
  2. package/Compass.ios.tsx +2 -3
  3. package/android/build.gradle +22 -9
  4. package/android/src/main/AndroidManifest.xml +1 -0
  5. package/android/src/main/java/com/fxzs.rnbeidou/BeiDouBluetoothModule.java +528 -188
  6. package/android/src/main/java/com/fxzs.rnbeidou/BeiDouBluetoothPackage.java +10 -13
  7. package/android/src/main/java/com/fxzs.rnbeidou/BeidouAidlHelper.java +45 -13
  8. package/android/src/main/java/com/fxzs.rnbeidou/SuperSimModule.java +301 -0
  9. package/android/src/main/java/com/fxzs.rnbeidou/view/CompassManager.java +15 -15
  10. package/android/src/main/java/com/fxzs.rnbeidou/view/CompassView.java +10 -4
  11. package/index.ts +128 -228
  12. package/ios/BeiDouBluetoothModule.m +147 -20
  13. package/ios/BeidouBluetooth.framework/BeidouBluetooth +0 -0
  14. package/ios/BeidouBluetooth.framework/FMDB.bundle/Info.plist +0 -0
  15. package/ios/BeidouBluetooth.framework/Info.plist +0 -0
  16. package/ios/BeidouBluetooth.framework/_CodeSignature/CodeDirectory +0 -0
  17. package/ios/BeidouBluetooth.framework/_CodeSignature/CodeRequirements-1 +0 -0
  18. package/ios/BeidouBluetooth.framework/_CodeSignature/CodeResources +4 -4
  19. package/ios/BeidouBluetooth.framework/_CodeSignature/CodeSignature +0 -0
  20. package/ios/CompassView.h +1 -0
  21. package/ios/CompassView.m +3 -0
  22. package/ios/CompassViewComponentView.h +11 -0
  23. package/ios/CompassViewComponentView.mm +64 -0
  24. package/package.json +3 -5
  25. package/react-native-beidou.podspec +6 -3
  26. package/react-native.config.js +2 -5
  27. package/src/CompassViewNativeComponent.ts +13 -0
  28. package/src/NativeBeiDouBluetooth.ts +57 -0
  29. package/src/NativeSuperSim.ts +21 -0
  30. package/BeiDouAIDLTestPage.tsx +0 -1196
  31. package/LogManager.ts +0 -285
  32. package/TestPage.ts +0 -6
  33. package/android/.gradle/8.10/checksums/checksums.lock +0 -0
  34. package/android/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  35. package/android/.gradle/8.10/fileChanges/last-build.bin +0 -0
  36. package/android/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  37. package/android/.gradle/8.10/gc.properties +0 -0
  38. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  39. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  40. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  41. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  42. package/android/.gradle/8.9/gc.properties +0 -0
  43. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  44. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  45. package/android/.gradle/config.properties +0 -2
  46. package/android/.gradle/vcs-1/gc.properties +0 -0
  47. package/android/.idea/AndroidProjectSystem.xml +0 -6
  48. package/android/.idea/caches/deviceStreaming.xml +0 -1138
  49. package/android/.idea/gradle.xml +0 -13
  50. package/android/.idea/migrations.xml +0 -10
  51. package/android/.idea/misc.xml +0 -9
  52. package/android/.idea/runConfigurations.xml +0 -17
  53. package/android/.idea/vcs.xml +0 -6
  54. package/android/local.properties +0 -8
  55. package/android/src/main/java/com/fxzs.rnbeidou/LogManager.java +0 -488
package/index.ts CHANGED
@@ -1,21 +1,7 @@
1
- import { NativeModules, Platform } from 'react-native';
2
-
3
- const LINKING_ERROR =
4
- `The package 'react-native-beidou' doesn't seem to be linked. Make sure: \n\n` +
5
- Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
6
- '- You rebuilt the app after installing the package\n' +
7
- '- You are not using Expo Go\n';
8
-
9
- const BeiDouBluetoothModule = NativeModules.BeiDouBluetoothModule
10
- ? NativeModules.BeiDouBluetoothModule
11
- : new Proxy(
12
- {},
13
- {
14
- get() {
15
- throw new Error(LINKING_ERROR);
16
- },
17
- }
18
- );
1
+ import NativeBeiDouBluetooth from './src/NativeBeiDouBluetooth';
2
+ import NativeSuperSim from './src/NativeSuperSim';
3
+
4
+ const BeiDouBluetoothModule = NativeBeiDouBluetooth;
19
5
 
20
6
  // ================== 蓝牙相关类型定义 ==================
21
7
  export interface BlueDeviceInfo {
@@ -31,17 +17,9 @@ export type BluetoothStatus = 'NotSupported' | 'NO' | 'OK';
31
17
 
32
18
  // ================== 北斗AIDL服务相关类型定义 ==================
33
19
  export interface BDStatusResponse {
34
- slotId?: number;
35
20
  code: number;
36
21
  statusMsg: string;
37
22
  msgQuotaRemain: number;
38
- userOpenStatus: number;
39
- }
40
-
41
- export interface BDAuthResult {
42
- slotId: number;
43
- code: number;
44
- statusMsg: string | null;
45
23
  }
46
24
 
47
25
  export interface BDMsgEncryptResponse {
@@ -49,7 +27,6 @@ export interface BDMsgEncryptResponse {
49
27
  statusMsg: string;
50
28
  data: number[]; // byte array as number array
51
29
  sendMobile: string;
52
- len: number;
53
30
  }
54
31
 
55
32
  export interface BDMsgDecryptResponse {
@@ -60,11 +37,9 @@ export interface BDMsgDecryptResponse {
60
37
  }
61
38
 
62
39
  export interface BDMsgEphemerisFileDLResponse {
63
- slotId: number;
64
40
  code: number;
65
41
  statusMsg: string;
66
42
  ephemerisZipFile: number[]; // byte array as number array
67
- ephemerisZipFileName: string | null;
68
43
  version: string;
69
44
  }
70
45
 
@@ -100,6 +75,19 @@ export interface SimCardInfo {
100
75
  number: string | null;
101
76
  }
102
77
 
78
+ export interface ContactInfo {
79
+ id: string;
80
+ name: string;
81
+ firstLetter: string;
82
+ phoneNumbers: string[];
83
+ }
84
+
85
+ export interface SuperSimBaseResponse {
86
+ code?: number;
87
+ statusMsg?: string;
88
+ [key: string]: unknown;
89
+ }
90
+
103
91
  // ================== 导出的便利方法 ==================
104
92
 
105
93
  /**
@@ -171,6 +159,14 @@ export const getSimCardList = async (): Promise<SimCardInfo[]> => {
171
159
  return list ?? [];
172
160
  };
173
161
 
162
+ /**
163
+ * 获取通讯录联系人(仅包含有号码的联系人)
164
+ */
165
+ export const getContactsList = async (): Promise<ContactInfo[]> => {
166
+ const list = await BeiDouBluetoothModule.getContacts();
167
+ return (list ?? []) as ContactInfo[];
168
+ };
169
+
174
170
  /**
175
171
  * 绑定北斗AIDL服务
176
172
  * @param packageName 北斗服务的包名
@@ -190,21 +186,21 @@ export const unbindBeiDouService = async (): Promise<boolean> => {
190
186
  /**
191
187
  * 北斗服务鉴权
192
188
  */
193
- export const authenticateBeiDou = async (slotId: number = 0): Promise<BDAuthResult> => {
189
+ export const authenticateBeiDou = async (slotId: number): Promise<boolean> => {
194
190
  return await BeiDouBluetoothModule.BDAuthenticate(slotId);
195
191
  };
196
192
 
197
193
  /**
198
194
  * 查询北斗用户开通状态及额度
199
195
  */
200
- export const getBeiDouStatus = async (slotId: number = 0): Promise<BDStatusResponse> => {
196
+ export const getBeiDouStatus = async (slotId: number): Promise<BDStatusResponse> => {
201
197
  return await BeiDouBluetoothModule.getBDMsgStatus(slotId);
202
198
  };
203
199
 
204
200
  /**
205
201
  * 检查北斗密钥状态
206
202
  */
207
- export const checkBeiDouKey = async (slotId: number = 0): Promise<number> => {
203
+ export const checkBeiDouKey = async (slotId: number): Promise<number> => {
208
204
  return await BeiDouBluetoothModule.checkValidatedKey(slotId);
209
205
  };
210
206
 
@@ -212,137 +208,56 @@ export const checkBeiDouKey = async (slotId: number = 0): Promise<number> => {
212
208
  * 通用北斗报文编码加密
213
209
  */
214
210
  export const encryptCommonBeiDouMessage = async (
215
- slotId: number = 0,
216
- speedType: string = '0',
211
+ slotId: number,
212
+ speedType: string,
217
213
  receiveList: string[],
218
214
  inputMsg: string
219
- ): Promise<BDMsgEncryptResponse[]> => BeiDouBluetoothModule.commonBDMsgEncrypt(slotId, speedType, receiveList, inputMsg);
215
+ ): Promise<BDMsgEncryptResponse> => {
216
+ return await BeiDouBluetoothModule.commonBDMsgEncrypt(slotId,speedType, receiveList, inputMsg);
217
+ };
220
218
 
221
219
  /**
222
220
  * 位置信息北斗报文编码加密
223
221
  */
224
222
  export const encryptPositionBeiDouMessage = async (
225
- slotId: number = 0,
226
- speedType: string = '0',
223
+ slotId: number,
224
+ speedType: string,
227
225
  receiveList: string[],
228
226
  inputMsg: string,
229
227
  longitude: number,
230
228
  latitude: number
231
- ): Promise<BDMsgEncryptResponse[]> =>
232
- BeiDouBluetoothModule.positionBDMsgEncrypt(slotId, speedType, receiveList, inputMsg, longitude, latitude);
233
-
234
- export const encryptCommonEmergencyBeiDouMessage = async (
235
- slotId: number = 0,
236
- speedType: string = '0',
237
- receiveList: string[],
238
- inputMsg: string
239
- ): Promise<BDMsgEncryptResponse[]> =>
240
- BeiDouBluetoothModule.commonEmergencyBDMsgEncrypt(slotId, speedType, receiveList, inputMsg);
241
-
242
- export const encryptPositionEmergencyBeiDouMessage = async (
243
- slotId: number = 0,
244
- speedType: string = '0',
245
- receiveList: string[],
246
- inputMsg: string,
247
- longitude: number,
248
- latitude: number
249
- ): Promise<BDMsgEncryptResponse[]> =>
250
- BeiDouBluetoothModule.positionEmergencyBDMsgEncrypt(slotId, speedType, receiveList, inputMsg, longitude, latitude);
251
-
252
- export const encryptCommonRichMediaBeiDouMessage = async (
253
- slotId: number = 0,
254
- speedType: string = '0',
255
- receiveList: string[],
256
- msgType: string,
257
- inputRichMediaData: number[]
258
- ): Promise<BDMsgEncryptResponse[]> =>
259
- BeiDouBluetoothModule.commonRichMediaBDMsgEncrypt(slotId, speedType, receiveList, msgType, inputRichMediaData);
260
-
261
- export const encryptPositionRichMediaBeiDouMessage = async (
262
- slotId: number = 0,
263
- speedType: string = '0',
264
- receiveList: string[],
265
- msgType: string,
266
- inputRichMediaData: number[],
267
- longitude: number,
268
- latitude: number
269
- ): Promise<BDMsgEncryptResponse[]> =>
270
- BeiDouBluetoothModule.positionRichMediaBDMsgEncrypt(
271
- slotId,
272
- speedType,
273
- receiveList,
274
- msgType,
275
- inputRichMediaData,
276
- longitude,
277
- latitude
278
- );
279
-
280
- export const encryptCommonRichMediaAndTextBeiDouMessage = async (
281
- slotId: number = 0,
282
- speedType: string = '0',
283
- receiveList: string[],
284
- text: string,
285
- msgType: string,
286
- inputRichMediaData: number[]
287
- ): Promise<BDMsgEncryptResponse[]> =>
288
- BeiDouBluetoothModule.commonRichMediaAndTextBDMsgEncrypt(
289
- slotId,
290
- speedType,
291
- receiveList,
292
- text,
293
- msgType,
294
- inputRichMediaData
295
- );
296
-
297
- export const encryptPositionRichMediaAndTextBeiDouMessage = async (
298
- slotId: number = 0,
299
- speedType: string = '0',
300
- receiveList: string[],
301
- text: string,
302
- msgType: string,
303
- inputRichMediaData: number[],
304
- longitude: number,
305
- latitude: number
306
- ): Promise<BDMsgEncryptResponse[]> =>
307
- BeiDouBluetoothModule.positionRichMediaAndTextBDMsgEncrypt(
308
- slotId,
309
- speedType,
310
- receiveList,
311
- text,
312
- msgType,
313
- inputRichMediaData,
314
- longitude,
315
- latitude
316
- );
229
+ ): Promise<BDMsgEncryptResponse> => {
230
+ return await BeiDouBluetoothModule.positionBDMsgEncrypt(slotId, speedType,receiveList, inputMsg, longitude, latitude);
231
+ };
317
232
 
318
233
  /**
319
234
  * 北斗信箱查询请求加密
320
235
  */
321
- export const encryptBeiDouMailboxQuery = async (slotId: number = 0): Promise<BDMsgEncryptResponse> =>
322
- BeiDouBluetoothModule.BDMailboxQueryEncrypt(slotId);
323
-
324
- export const encryptEmergencyBeiDouMailboxQuery = async (
325
- slotId: number = 0,
326
- replyMobile: string
327
- ): Promise<BDMsgEncryptResponse> => BeiDouBluetoothModule.EmergencyBDMailboxQueryEncrypt(slotId, replyMobile);
236
+ export const encryptBeiDouMailboxQuery = async (slotId: number): Promise<BDMsgEncryptResponse> => {
237
+ return await BeiDouBluetoothModule.BDMailboxQueryEncrypt(slotId);
238
+ };
328
239
 
329
240
  /**
330
241
  * 北斗报文解密
331
242
  */
332
243
  export const decryptBeiDouMessage = async (
333
- slotId: number = 0,
244
+ slotId: number,
334
245
  msg: number[],
335
246
  len: number
336
- ): Promise<BDMsgDecryptResponse> => BeiDouBluetoothModule.BDMsgDecrypt(slotId, msg, len);
247
+ ): Promise<BDMsgDecryptResponse> => {
248
+ return await BeiDouBluetoothModule.BDMsgDecrypt(slotId, msg, len);
249
+ };
337
250
 
338
251
  /**
339
252
  * 下载北斗星历文件
340
253
  */
341
254
  export const downloadEphemerisFile = async (
342
- slotId: number = 0,
255
+ slotId: number,
343
256
  type: string,
344
257
  version: string
345
- ): Promise<BDMsgEphemerisFileDLResponse> => BeiDouBluetoothModule.DLEphemerisFile(slotId, type, version);
258
+ ): Promise<BDMsgEphemerisFileDLResponse> => {
259
+ return await BeiDouBluetoothModule.DLEphemerisFile(slotId, type, version);
260
+ };
346
261
 
347
262
  // ================== 新增iOS兼容方法的便利函数 ==================
348
263
 
@@ -419,6 +334,75 @@ export const setBeiDouBLEKey = async (bleKey: string): Promise<boolean> => {
419
334
  }
420
335
  };
421
336
 
337
+ const getSuperSimModule = () => {
338
+ if (!NativeSuperSim) {
339
+ throw new Error('SuperSimModule is not available. Ensure Android native module is linked correctly.');
340
+ }
341
+ return NativeSuperSim;
342
+ };
343
+
344
+ export const getSuperSimType = async (slotId: number): Promise<number> => {
345
+ return getSuperSimModule().getSimType(slotId);
346
+ };
347
+
348
+ export const getSuperSimKsKeyAndAuthResult = async (slotId: number): Promise<SuperSimBaseResponse | null> => {
349
+ return (await getSuperSimModule().getKsKeyAndAuthResult(slotId)) as SuperSimBaseResponse | null;
350
+ };
351
+
352
+ export const checkSuperSimKeyIsExistAndValidate = async (slotId: number): Promise<number> => {
353
+ return getSuperSimModule().checkKeyIsExistAndValidate(slotId);
354
+ };
355
+
356
+ export const encryptSuperSimCommonMessage = async (
357
+ slotId: number,
358
+ recipients: string[] | null,
359
+ message: string
360
+ ): Promise<SuperSimBaseResponse | null> => {
361
+ return (await getSuperSimModule().commonMessageEncryptBDMsg(slotId, recipients, message)) as SuperSimBaseResponse | null;
362
+ };
363
+
364
+ export const encryptSuperSimPositionReport = async (
365
+ slotId: number,
366
+ recipients: string[] | null,
367
+ message: string,
368
+ longitude: number,
369
+ latitude: number
370
+ ): Promise<SuperSimBaseResponse | null> => {
371
+ return (await getSuperSimModule().positionReportEncryptBDMsg(slotId, recipients, message, longitude, latitude)) as SuperSimBaseResponse | null;
372
+ };
373
+
374
+ export const encryptSuperSimMailboxQuery = async (slotId: number): Promise<SuperSimBaseResponse | null> => {
375
+ return (await getSuperSimModule().mailboxQueryEncryptBDMsg(slotId)) as SuperSimBaseResponse | null;
376
+ };
377
+
378
+ export const decryptSuperSimMailboxReply = async (
379
+ slotId: number,
380
+ data: number[] | null,
381
+ dataLength: number
382
+ ): Promise<SuperSimBaseResponse | null> => {
383
+ return (await getSuperSimModule().mailboxReplyDecryptBDMsg(slotId, data, dataLength)) as SuperSimBaseResponse | null;
384
+ };
385
+
386
+ export const getSuperSimCurrentUserInfo = async (slotId: number): Promise<SuperSimBaseResponse | null> => {
387
+ return (await getSuperSimModule().getCurrentUserInfo(slotId)) as SuperSimBaseResponse | null;
388
+ };
389
+
390
+ export const decryptSuperSimMailboxSynchronize = async (slotId: number): Promise<SuperSimBaseResponse | null> => {
391
+ return (await getSuperSimModule().mailboxSynchronizeDecryptBDMsg(slotId)) as SuperSimBaseResponse | null;
392
+ };
393
+
394
+ export const SuperSim = {
395
+ getSimType: getSuperSimType,
396
+ getKsKeyAndAuthResult: getSuperSimKsKeyAndAuthResult,
397
+ checkKeyIsExistAndValidate: checkSuperSimKeyIsExistAndValidate,
398
+ encryptCommonMessage: encryptSuperSimCommonMessage,
399
+ encryptPositionReport: encryptSuperSimPositionReport,
400
+ encryptMailboxQuery: encryptSuperSimMailboxQuery,
401
+ decryptMailboxReply: decryptSuperSimMailboxReply,
402
+ getCurrentUserInfo: getSuperSimCurrentUserInfo,
403
+ decryptMailboxSynchronize: decryptSuperSimMailboxSynchronize,
404
+ };
405
+
422
406
  export const BeiDouModule = {
423
407
  // 蓝牙相关
424
408
  bluetooth: {
@@ -449,6 +433,7 @@ export const BeiDouModule = {
449
433
  initializeBluetooth,
450
434
  fetchCurrentWifiName,
451
435
  getSimCardList,
436
+ getContacts: getContactsList,
452
437
  getGpsLocation: (): Promise<{
453
438
  latitude: number;
454
439
  longitude: number;
@@ -465,78 +450,14 @@ export const BeiDouModule = {
465
450
  unbindService: unbindBeiDouService,
466
451
 
467
452
  // 核心功能
468
- authenticate: (slotId: number = 0) => authenticateBeiDou(slotId),
469
- getStatus: (slotId: number = 0) => getBeiDouStatus(slotId),
470
- checkKey: (slotId: number = 0) => checkBeiDouKey(slotId),
471
- encryptCommonMessage: (
472
- slotId: number,
473
- speedType: string,
474
- receiveList: string[],
475
- inputMsg: string
476
- ) => encryptCommonBeiDouMessage(slotId, speedType, receiveList, inputMsg),
477
- encryptPositionMessage: (
478
- slotId: number,
479
- speedType: string,
480
- receiveList: string[],
481
- inputMsg: string,
482
- longitude: number,
483
- latitude: number
484
- ) => encryptPositionBeiDouMessage(slotId, speedType, receiveList, inputMsg, longitude, latitude),
485
- encryptCommonEmergencyMessage: (
486
- slotId: number,
487
- speedType: string,
488
- receiveList: string[],
489
- inputMsg: string
490
- ) => encryptCommonEmergencyBeiDouMessage(slotId, speedType, receiveList, inputMsg),
491
- encryptPositionEmergencyMessage: (
492
- slotId: number,
493
- speedType: string,
494
- receiveList: string[],
495
- inputMsg: string,
496
- longitude: number,
497
- latitude: number
498
- ) => encryptPositionEmergencyBeiDouMessage(slotId, speedType, receiveList, inputMsg, longitude, latitude),
499
- encryptCommonRichMediaMessage: (
500
- slotId: number,
501
- speedType: string,
502
- receiveList: string[],
503
- msgType: string,
504
- data: number[]
505
- ) => encryptCommonRichMediaBeiDouMessage(slotId, speedType, receiveList, msgType, data),
506
- encryptPositionRichMediaMessage: (
507
- slotId: number,
508
- speedType: string,
509
- receiveList: string[],
510
- msgType: string,
511
- data: number[],
512
- longitude: number,
513
- latitude: number
514
- ) => encryptPositionRichMediaBeiDouMessage(slotId, speedType, receiveList, msgType, data, longitude, latitude),
515
- encryptCommonRichMediaAndTextMessage: (
516
- slotId: number,
517
- speedType: string,
518
- receiveList: string[],
519
- text: string,
520
- msgType: string,
521
- data: number[]
522
- ) => encryptCommonRichMediaAndTextBeiDouMessage(slotId, speedType, receiveList, text, msgType, data),
523
- encryptPositionRichMediaAndTextMessage: (
524
- slotId: number,
525
- speedType: string,
526
- receiveList: string[],
527
- text: string,
528
- msgType: string,
529
- data: number[],
530
- longitude: number,
531
- latitude: number
532
- ) =>
533
- encryptPositionRichMediaAndTextBeiDouMessage(slotId, speedType, receiveList, text, msgType, data, longitude, latitude),
534
- encryptMailboxQuery: (slotId: number = 0) => encryptBeiDouMailboxQuery(slotId),
535
- encryptEmergencyMailboxQuery: (replyMobile: string, slotId: number = 0) =>
536
- encryptEmergencyBeiDouMailboxQuery(slotId, replyMobile),
537
- decryptMessage: (msg: number[], len: number, slotId: number = 0) => decryptBeiDouMessage(slotId, msg, len),
538
- downloadEphemeris: (type: string, version: string, slotId: number = 0) =>
539
- downloadEphemerisFile(slotId, type, version),
453
+ authenticate: authenticateBeiDou,
454
+ getStatus: getBeiDouStatus,
455
+ checkKey: checkBeiDouKey,
456
+ encryptCommonMessage: encryptCommonBeiDouMessage,
457
+ encryptPositionMessage: encryptPositionBeiDouMessage,
458
+ encryptMailboxQuery: encryptBeiDouMailboxQuery,
459
+ decryptMessage: decryptBeiDouMessage,
460
+ downloadEphemeris: downloadEphemerisFile,
540
461
  },
541
462
 
542
463
  // 所有原生方法的原名导出
@@ -563,6 +484,7 @@ export const BeiDouModule = {
563
484
  getMessagesForPhone: getMessagesForPhoneNumber,
564
485
  setBLEKey: BeiDouBluetoothModule.setBLEKey,
565
486
  getSimCardList: BeiDouBluetoothModule.getSimCardList,
487
+ getContacts: BeiDouBluetoothModule.getContacts,
566
488
 
567
489
  // 北斗AIDL服务绑定方法
568
490
  bindBeidouServiceMethod: BeiDouBluetoothModule.bindBeidouServiceMethod,
@@ -574,14 +496,7 @@ export const BeiDouModule = {
574
496
  checkValidatedKey: BeiDouBluetoothModule.checkValidatedKey,
575
497
  commonBDMsgEncrypt: BeiDouBluetoothModule.commonBDMsgEncrypt,
576
498
  positionBDMsgEncrypt: BeiDouBluetoothModule.positionBDMsgEncrypt,
577
- commonEmergencyBDMsgEncrypt: BeiDouBluetoothModule.commonEmergencyBDMsgEncrypt,
578
- positionEmergencyBDMsgEncrypt: BeiDouBluetoothModule.positionEmergencyBDMsgEncrypt,
579
- commonRichMediaBDMsgEncrypt: BeiDouBluetoothModule.commonRichMediaBDMsgEncrypt,
580
- positionRichMediaBDMsgEncrypt: BeiDouBluetoothModule.positionRichMediaBDMsgEncrypt,
581
- commonRichMediaAndTextBDMsgEncrypt: BeiDouBluetoothModule.commonRichMediaAndTextBDMsgEncrypt,
582
- positionRichMediaAndTextBDMsgEncrypt: BeiDouBluetoothModule.positionRichMediaAndTextBDMsgEncrypt,
583
499
  BDMailboxQueryEncrypt: BeiDouBluetoothModule.BDMailboxQueryEncrypt,
584
- EmergencyBDMailboxQueryEncrypt: BeiDouBluetoothModule.EmergencyBDMailboxQueryEncrypt,
585
500
  BDMsgDecrypt: BeiDouBluetoothModule.BDMsgDecrypt,
586
501
  DLEphemerisFile: BeiDouBluetoothModule.DLEphemerisFile,
587
502
  getGpsLocation: (): Promise<{
@@ -597,18 +512,3 @@ export const BeiDouModule = {
597
512
  export default BeiDouModule;
598
513
  export { default as Compass } from './Compass';
599
514
 
600
- // 导出日志管理功能
601
- export {
602
- BeiDouLogManager,
603
- BeiDouLogger,
604
- LogLevel,
605
- logVerbose,
606
- logDebug,
607
- logInfo,
608
- logWarn,
609
- logError,
610
- setupGlobalLogInterception
611
- } from './LogManager';
612
- export type { LogConfig } from './LogManager';
613
-
614
-