chameleon-ultra.js - v0.3.29
Demos
GitHub
NPM
jsDelivr
Preparing search index...
plugin/DfuZip
DfuZip
Class DfuZip
Index
Constructors
constructor
Methods
get
App
Image
get
Base
Image
get
Git
Version
get
Image
get
Manifest
Constructors
constructor
new
DfuZip
(
buf
:
Buffer
)
:
DfuZip
Parameters
buf
:
Buffer
Returns
DfuZip
Methods
get
App
Image
getAppImage
()
:
Promise
<
null
|
{
body
:
Buffer
;
header
:
Buffer
;
type
:
DfuImageType
}
,
>
Returns
Promise
<
null
|
{
body
:
Buffer
;
header
:
Buffer
;
type
:
DfuImageType
}
>
get
Base
Image
getBaseImage
()
:
Promise
<
null
|
{
body
:
Buffer
;
header
:
Buffer
;
type
:
DfuImageType
}
,
>
Returns
Promise
<
null
|
{
body
:
Buffer
;
header
:
Buffer
;
type
:
DfuImageType
}
>
get
Git
Version
getGitVersion
()
:
Promise
<
null
|
string
>
Returns
Promise
<
null
|
string
>
get
Image
getImage
(
types
:
DfuImageType
[]
,
)
:
Promise
<
null
|
{
body
:
Buffer
;
header
:
Buffer
;
type
:
DfuImageType
}
>
Parameters
types
:
DfuImageType
[]
Returns
Promise
<
null
|
{
body
:
Buffer
;
header
:
Buffer
;
type
:
DfuImageType
}
>
get
Manifest
getManifest
()
:
Promise
<
{
application
:
{
bin_file
:
string
;
dat_file
:
string
}
;
bootloader
:
{
bin_file
:
string
;
dat_file
:
string
}
;
softdevice
:
{
bin_file
:
string
;
dat_file
:
string
}
;
softdevice_bootloader
:
{
bin_file
:
string
;
dat_file
:
string
}
;
}
,
>
Returns
Promise
<
{
application
:
{
bin_file
:
string
;
dat_file
:
string
}
;
bootloader
:
{
bin_file
:
string
;
dat_file
:
string
}
;
softdevice
:
{
bin_file
:
string
;
dat_file
:
string
}
;
softdevice_bootloader
:
{
bin_file
:
string
;
dat_file
:
string
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
App
Image
get
Base
Image
get
Git
Version
get
Image
get
Manifest
Demos
GitHub
NPM
jsDelivr
chameleon-ultra.js - v0.3.29
Loading...