Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
7afa80e2
Commit
7afa80e2
authored
Oct 16, 2025
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#67559 [ABookCheck/eXFrame]アルコールチェッカー(FALC-31S)と連携対応
parent
dbcd3694
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/AlcoholCheckerUtil.java
+13
-5
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/AlcoholCheckerUtil.java
View file @
7afa80e2
...
@@ -631,10 +631,10 @@ public class AlcoholCheckerUtil {
...
@@ -631,10 +631,10 @@ public class AlcoholCheckerUtil {
// 01 72 70 02
// 01 72 70 02
//
//
boolean
go
=
false
;
boolean
go
=
false
;
if
(
rxdata
[
0
]
==
2
&&
rxdata
[
1
]
==
14
&&
rxdata
[
2
]
==
-
11
&&
rxdata
[
3
]
==
4
)
{
if
(
rxdata
.
length
==
4
&&
rxdata
[
0
]
==
2
&&
rxdata
[
1
]
==
14
&&
rxdata
[
2
]
==
-
11
&&
rxdata
[
3
]
==
4
)
{
go
=
true
;
go
=
true
;
}
}
if
(
rxdata
[
0
]
==
1
&&
rxdata
[
1
]
==
102
&&
rxdata
[
2
]
==
99
&&
rxdata
[
3
]
==
3
)
{
if
(
rxdata
.
length
==
4
&&
rxdata
[
0
]
==
1
&&
rxdata
[
1
]
==
102
&&
rxdata
[
2
]
==
99
&&
rxdata
[
3
]
==
3
)
{
// nor rp FC command
// nor rp FC command
fcWaitMode
=
1
;
fcWaitMode
=
1
;
return
si_ret
=
F_BLE_COM_FC_WAIT
;
return
si_ret
=
F_BLE_COM_FC_WAIT
;
...
@@ -792,17 +792,25 @@ public class AlcoholCheckerUtil {
...
@@ -792,17 +792,25 @@ public class AlcoholCheckerUtil {
// 01 102 99 3 fc
// 01 102 99 3 fc
//
//
if
(
fcWaitMode
==
0
)
{
if
(
fcWaitMode
==
0
)
{
if
(
rxdata
[
0
]
==
1
&&
rxdata
[
1
]
==
102
&&
rxdata
[
2
]
==
99
&&
rxdata
[
3
]
==
3
)
{
if
(
rxdata
.
length
>
3
&&
rxdata
[
0
]
==
1
&&
rxdata
[
1
]
==
102
&&
rxdata
[
2
]
==
99
&&
rxdata
[
3
]
==
3
)
{
// fcコマンド
fcWaitMode
=
1
;
}
// FALC-31S対応
if
(
gi_rxlength
>
3
&&
gb_rxdat
[
0
]
==
1
&&
gb_rxdat
[
1
]
==
102
&&
gb_rxdat
[
2
]
==
99
&&
gb_rxdat
[
3
]
==
3
)
{
// fcコマンド
// fcコマンド
fcWaitMode
=
1
;
fcWaitMode
=
1
;
}
}
if
(
rxdata
[
0
]
==
1
&&
rxdata
[
1
]
==
114
&&
rxdata
[
2
]
==
112
&&
rxdata
[
3
]
==
2
)
{
if
(
rxdata
.
length
>
3
&&
rxdata
[
0
]
==
1
&&
rxdata
[
1
]
==
114
&&
rxdata
[
2
]
==
112
&&
rxdata
[
3
]
==
2
)
{
// RP上位が入ってくる場合があった
// RP上位が入ってくる場合があった
si_ret
=
F_BLE_COM_RP_WAIT
;
si_ret
=
F_BLE_COM_RP_WAIT
;
return
si_ret
;
return
si_ret
;
}
}
}
else
if
(
fcWaitMode
==
1
)
{
}
else
if
(
fcWaitMode
==
1
)
{
if
(
rxdata
.
length
==
5
)
{
// FALC-31S対応追加
if
(
rxdata
.
length
==
5
||
gi_rxlength
==
9
)
{
// 49 05 32 35 4
// 49 05 32 35 4
// 0x31 05 20 23 4 実行完了 本体動作モード リアルタイム測定進行状況 チェックサム 4
// 0x31 05 20 23 4 実行完了 本体動作モード リアルタイム測定進行状況 チェックサム 4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment