Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jensen
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Skye Yu
jensen
Commits
fced0dc6
Commit
fced0dc6
authored
Mar 11, 2026
by
martin hou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 增加固件
parent
8ca1b95d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
index.tsx
src/index.tsx
+14
-1
No files found.
src/index.tsx
View file @
fced0dc6
...
...
@@ -10,7 +10,9 @@ const firmwareVersions = [
{
model
:
'hidock-h1'
,
version
:
'5.2.9'
,
url
:
'https://jensen.test.hidock.com/firmwares/hidock-h1-5.2.9.bin'
,
remark
:
''
},
{
model
:
'hidock-h1e'
,
version
:
'6.2.9'
,
url
:
'https://jensen.test.hidock.com/firmwares/hidock-h1e-6.2.9.bin'
,
remark
:
''
},
{
model
:
'hidock-p1'
,
version
:
'1.3.10'
,
url
:
'https://jensen.test.hidock.com/firmwares/p1-1.3.10.bin'
,
remark
:
''
},
{
model
:
'hidock-p1'
,
version
:
'1.3.14'
,
url
:
'https://jensen.test.hidock.com/firmwares/p1-1.3.14.bin'
,
remark
:
''
}
{
model
:
'hidock-p1'
,
version
:
'1.3.14'
,
url
:
'https://jensen.test.hidock.com/firmwares/p1-1.3.14.bin'
,
remark
:
''
},
{
model
:
'hidock-p1'
,
version
:
'1.0.11'
,
url
:
'https://jensen.test.hidock.com/firmwares/hidock-p1-1.0.11.bin'
,
remark
:
''
},
{
model
:
'hidock-p1'
,
version
:
'1.0.12'
,
url
:
'https://jensen.test.hidock.com/firmwares/hidock-p1-1.0.12.bin'
,
remark
:
''
}
];
const
sleep
=
(
ms
:
number
)
=>
{
...
...
@@ -822,6 +824,16 @@ export function Home() {
await
releaseJensen
();
}
const
handleReadBlock
=
async
()
=>
{
let
jensen
=
await
getJensen
();
if
(
jensen
==
null
)
return
;
const
fname
=
'2026Feb04-152156-Rec00.wav'
;
let
rst
=
await
jensen
.
readFile
(
fname
,
0
,
1024
*
1024
*
2
);
console
.
log
(
'xxxxxx0'
,
rst
);
// Logger.info('jensen', 'read-block', 'Read Block: ' + JSON.stringify(rst));
await
releaseJensen
();
}
return
(
<>
<
div
className=
"btn-container"
style=
{
{
display
:
'flex'
,
flexDirection
:
'row'
,
gap
:
'16px'
,
padding
:
'16px'
,
alignItems
:
'center'
,
flexWrap
:
'wrap'
}
}
>
...
...
@@ -866,6 +878,7 @@ export function Home() {
<
button
onClick=
{
switchRecordingQuality
}
>
Switch Recording Quality
</
button
>
<
button
onClick=
{
getAudioInputDevice
}
>
Get Audio Input Device
</
button
>
<
button
onClick=
{
switchAudioInputDevice
}
>
Switch Audio Input Device
</
button
>
<
button
onClick=
{
handleReadBlock
}
>
Read Block
</
button
>
<
span
style=
{
{
marginLeft
:
'8px'
}
}
>
Interval(ms):
</
span
>
<
input
...
...
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